Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008153/0.0008153, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008472/0.0008472, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8573/0.8573, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.65/1.65, allocations: 377.8 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.9809 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.554e-05, allocations: 8.953 kB / 0.9809 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5418/0.5418, allocations: 170.3 MB / 1.147 GB, free: 14.13 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004483/0.5463, allocations: 3.788 MB / 1.151 GB, free: 11.56 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.5467, allocations: 29.34 kB / 1.151 GB, free: 11.55 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.5478, allocations: 465.4 kB / 1.151 GB, free: 11.28 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.5503, allocations: 1.596 MB / 1.153 GB, free: 10.41 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.5529, allocations: 1.452 MB / 1.154 GB, free: 9.699 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.5548, allocations: 1.655 MB / 1.156 GB, free: 8.922 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008503/0.5557, allocations: 0.8388 MB / 1.157 GB, free: 8.535 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.5573, allocations: 1.363 MB / 1.158 GB, free: 7.961 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009225/0.5582, allocations: 0.7791 MB / 1.159 GB, free: 7.73 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.5583, allocations: 99.28 kB / 1.159 GB, free: 7.73 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.5598, allocations: 1.111 MB / 1.16 GB, free: 7.324 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.5601, allocations: 384.3 kB / 1.16 GB, free: 7.133 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.5605, allocations: 395 kB / 1.161 GB, free: 6.973 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.5622, allocations: 1.767 MB / 1.163 GB, free: 6.34 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5622, allocations: 0 / 1.163 GB, free: 6.34 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5622, allocations: 0 / 1.163 GB, free: 6.34 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.5622, allocations: 0 / 1.163 GB, free: 6.34 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001768/0.564, allocations: 1.184 MB / 1.164 GB, free: 5.566 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.564, allocations: 9.531 kB / 1.164 GB, free: 5.566 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.5642, allocations: 87.83 kB / 1.164 GB, free: 5.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.565, allocations: 241.5 kB / 1.164 GB, free: 5.434 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/0.5657, allocations: 0.5542 MB / 1.165 GB, free: 5.074 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.5658, allocations: 45.22 kB / 1.165 GB, free: 5.055 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.5658, allocations: 49.83 kB / 1.165 GB, free: 5.039 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.567, allocations: 1.057 MB / 1.166 GB, free: 4.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.567, allocations: 9.172 kB / 1.166 GB, free: 4.473 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.5671, allocations: 22.25 kB / 1.166 GB, free: 4.457 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.5671, allocations: 30.14 kB / 1.166 GB, free: 4.453 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5684, allocations: 1 MB / 1.167 GB, free: 4.078 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.5722, allocations: 3.713 MB / 1.17 GB, free: 1.371 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.5729, allocations: 0.5526 MB / 1.171 GB, free: 1.148 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.5735, allocations: 488.1 kB / 1.171 GB, free: 0.957 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.5739, allocations: 135 kB / 1.171 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.5739, allocations: 38.36 kB / 1.172 GB, free: 0.8984 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001277/0.5752, allocations: 0.6333 MB / 1.172 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 2.234e-06/0.5752, allocations: 1.625 kB / 1.172 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.009328/0.5845, allocations: 3.673 MB / 1.176 GB, free: 15.88 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5846, allocations: 65.38 kB / 1.176 GB, free: 15.81 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.5852, allocations: 0.7117 MB / 1.176 GB, free: 15.51 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.5853, allocations: 36.33 kB / 1.177 GB, free: 15.47 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.5855, allocations: 327.4 kB / 1.177 GB, free: 15.21 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.5856, allocations: 180.8 kB / 1.177 GB, free: 15.07 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.5858, allocations: 154.2 kB / 1.177 GB, free: 15.01 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.5859, allocations: 330.6 kB / 1.177 GB, free: 14.7 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.5864, allocations: 393.9 kB / 1.178 GB, free: 14.55 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.5869, allocations: 0.5225 MB / 1.178 GB, free: 14.25 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.588, allocations: 0.9266 MB / 1.179 GB, free: 13.79 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.588, allocations: 1.125 kB / 1.179 GB, free: 13.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005951/0.594, allocations: 2.551 MB / 1.182 GB, free: 13.11 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.594, allocations: 7.844 kB / 1.182 GB, free: 13.11 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.594, allocations: 2.125 kB / 1.182 GB, free: 13.11 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.5986, allocations: 1.733 MB / 1.183 GB, free: 12.85 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.5989, allocations: 93.06 kB / 1.184 GB, free: 12.84 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007793/0.6067, allocations: 6.87 MB / 1.19 GB, free: 7.996 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.6071, allocations: 16.81 kB / 1.19 GB, free: 7.988 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.6072, allocations: 49.05 kB / 1.19 GB, free: 7.965 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.6075, allocations: 214.6 kB / 1.191 GB, free: 7.785 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.6076, allocations: 91.72 kB / 1.191 GB, free: 7.734 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.6104, allocations: 1.715 MB / 1.192 GB, free: 6.75 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.6104, allocations: 5.969 kB / 1.192 GB, free: 6.75 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.6104, allocations: 13.11 kB / 1.192 GB, free: 6.742 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6104, allocations: 0 / 1.192 GB, free: 6.742 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.6137, allocations: 2.39 MB / 1.195 GB, free: 5.238 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6137, allocations: 2.844 kB / 1.195 GB, free: 5.238 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.6139, allocations: 91.11 kB / 1.195 GB, free: 5.219 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.6157, allocations: 0.7999 MB / 1.196 GB, free: 4.879 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.6157, allocations: 13.38 kB / 1.196 GB, free: 4.871 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.6197, allocations: 4.608 MB / 1.2 GB, free: 1.176 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6197, allocations: 2.531 kB / 1.2 GB, free: 1.176 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.6226, allocations: 2.138 MB / 1.202 GB, free: 15.93 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.6229, allocations: 159.5 kB / 1.202 GB, free: 15.82 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.623, allocations: 10.5 kB / 1.202 GB, free: 15.81 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.6233, allocations: 22.73 kB / 1.202 GB, free: 15.8 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6234, allocations: 54.78 kB / 1.202 GB, free: 15.76 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.6235, allocations: 19.72 kB / 1.202 GB, free: 15.76 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000424/0.6239, allocations: 0.5006 MB / 1.203 GB, free: 15.47 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.6239, allocations: 4 kB / 1.203 GB, free: 15.46 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000718/0.6246, allocations: 291.2 kB / 1.203 GB, free: 15.42 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003393/0.628, allocations: 2.789 MB / 1.206 GB, free: 13.59 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.6301, allocations: 1.414 MB / 1.207 GB, free: 12.76 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6301, allocations: 3.938 kB / 1.207 GB, free: 12.76 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009224/0.631, allocations: 0.8473 MB / 1.208 GB, free: 12.23 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.6321, allocations: 462.9 kB / 1.209 GB, free: 11.99 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.6484, allocations: 10.38 MB / 1.219 GB, free: 5.668 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6487, allocations: 387.5 kB / 1.219 GB, free: 5.438 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004428/0.6492, allocations: 158.6 kB / 1.219 GB, free: 5.277 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.6495, allocations: 284.4 kB / 1.219 GB, free: 5 MB / 1.042 GB Notification: Performance of SimCode: time 9.01e-07/0.6495, allocations: 0 / 1.219 GB, free: 5 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.6887, allocations: 32.92 MB / 1.252 GB, free: 4.695 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.75, allocations: 0 / 1.252 GB, free: 4.695 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pow_2dat.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.706312650814652]