Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001104/0.001104, 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.001278/0.001278, allocations: 169.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.861/0.861, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.602/1.602, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.894e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5574/0.5574, allocations: 170.2 MB / 1.117 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.5618, allocations: 3.783 MB / 1.12 GB, free: 29.17 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.5622, allocations: 29.34 kB / 1.12 GB, free: 29.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009953/0.5632, allocations: 472.8 kB / 1.121 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.5657, allocations: 1.607 MB / 1.122 GB, free: 28 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.5683, allocations: 1.454 MB / 1.124 GB, free: 27.29 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.5698, allocations: 1.664 MB / 1.126 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008251/0.5706, allocations: 0.8406 MB / 1.126 GB, free: 26.12 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.5718, allocations: 1.213 MB / 1.128 GB, free: 25.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000815/0.5726, allocations: 0.7953 MB / 1.128 GB, free: 25.38 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.5727, allocations: 100.2 kB / 1.128 GB, free: 25.38 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.5744, allocations: 1.121 MB / 1.129 GB, free: 24.97 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.5747, allocations: 385.3 kB / 1.13 GB, free: 24.78 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.575, allocations: 396.9 kB / 1.13 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.5768, allocations: 1.764 MB / 1.132 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5768, allocations: 1.094 kB / 1.132 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5768, allocations: 4 kB / 1.132 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.5768, allocations: 0 / 1.132 GB, free: 23.98 MB / 0.9948 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.001677/0.5785, allocations: 1.183 MB / 1.133 GB, free: 23.21 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5785, allocations: 9.031 kB / 1.133 GB, free: 23.21 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.5786, allocations: 88.88 kB / 1.133 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008698/0.5795, allocations: 245 kB / 1.133 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.5801, allocations: 0.5548 MB / 1.134 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5802, allocations: 41.84 kB / 1.134 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.5803, allocations: 53.56 kB / 1.134 GB, free: 22.68 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5814, allocations: 1.048 MB / 1.135 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5814, allocations: 1.188 kB / 1.135 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.5815, allocations: 22.72 kB / 1.135 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.5815, allocations: 33.86 kB / 1.135 GB, free: 22.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.5826, allocations: 1.001 MB / 1.136 GB, free: 21.73 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.5857, allocations: 3.724 MB / 1.14 GB, free: 19.01 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.5864, allocations: 0.5573 MB / 1.14 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.5869, allocations: 484.8 kB / 1.141 GB, free: 18.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.5873, allocations: 134.5 kB / 1.141 GB, free: 18.58 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.5873, allocations: 39.64 kB / 1.141 GB, free: 18.54 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001225/0.5885, allocations: 0.6327 MB / 1.142 GB, free: 18.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=50): time 3.016e-06/0.5885, allocations: 0 / 1.142 GB, free: 18.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=50): time 0.009132/0.5977, allocations: 3.673 MB / 1.145 GB, free: 17.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.5977, allocations: 61.98 kB / 1.145 GB, free: 17.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.5984, allocations: 0.7148 MB / 1.146 GB, free: 17.15 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.5984, allocations: 36.11 kB / 1.146 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.5986, allocations: 325.7 kB / 1.146 GB, free: 16.85 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.5987, allocations: 179.8 kB / 1.146 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.5989, allocations: 150.6 kB / 1.147 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.5989, allocations: 330.8 kB / 1.147 GB, free: 16.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.5994, allocations: 394.4 kB / 1.147 GB, free: 16.19 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.5998, allocations: 0.5278 MB / 1.148 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/0.6008, allocations: 0.926 MB / 1.149 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6008, allocations: 1.156 kB / 1.149 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005743/0.6066, allocations: 2.553 MB / 1.151 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6066, allocations: 10.41 kB / 1.151 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.6066, allocations: 1.062 kB / 1.151 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/0.6111, allocations: 1.724 MB / 1.153 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.6114, allocations: 92.23 kB / 1.153 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/0.6183, allocations: 6.865 MB / 1.16 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.6189, allocations: 28.88 kB / 1.16 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.619, allocations: 47 kB / 1.16 GB, free: 10.38 MB / 0.9948 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.0003158/0.6193, allocations: 210.6 kB / 1.16 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6194, allocations: 83.05 kB / 1.16 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.622, allocations: 1.727 MB / 1.162 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.622, allocations: 6.344 kB / 1.162 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.622, allocations: 9.859 kB / 1.162 GB, free: 9.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.622, allocations: 3.188 kB / 1.162 GB, free: 9.57 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.6253, allocations: 2.396 MB / 1.164 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6253, allocations: 1.156 kB / 1.164 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.6255, allocations: 83.36 kB / 1.164 GB, free: 8.504 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.6271, allocations: 0.7972 MB / 1.165 GB, free: 8.391 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.6272, allocations: 14.12 kB / 1.165 GB, free: 8.383 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/0.6307, allocations: 4.601 MB / 1.169 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6307, allocations: 6.688 kB / 1.169 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.6336, allocations: 2.142 MB / 1.172 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.6339, allocations: 160.5 kB / 1.172 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.6339, allocations: 12.94 kB / 1.172 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.6342, allocations: 22.7 kB / 1.172 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.6343, allocations: 64.11 kB / 1.172 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.6344, allocations: 21.75 kB / 1.172 GB, free: 4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004347/0.6348, allocations: 0.4974 MB / 1.172 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6348, allocations: 0 / 1.172 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008305/0.6356, allocations: 290.8 kB / 1.173 GB, free: 3.746 MB / 0.9948 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.003085/0.6387, allocations: 2.779 MB / 1.175 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.6407, allocations: 1.405 MB / 1.177 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6407, allocations: 3.938 kB / 1.177 GB, free: 1.641 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.6416, allocations: 0.8602 MB / 1.177 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.6427, allocations: 466.1 kB / 1.178 GB, free: 1.047 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.6583, allocations: 10.36 MB / 1.188 GB, free: 10.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.6586, allocations: 387.6 kB / 1.188 GB, free: 10.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000498/0.6591, allocations: 161.4 kB / 1.189 GB, free: 10.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.6594, allocations: 279.2 kB / 1.189 GB, free: 10.24 MB / 1.01 GB Notification: Performance of SimCode: time 1.102e-06/0.6594, allocations: 3.938 kB / 1.189 GB, free: 10.24 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04437/0.7037, allocations: 32.93 MB / 1.221 GB, free: 4.215 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.672, allocations: 15.92 kB / 1.221 GB, free: 4.199 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.651235599070787]