Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000821/0.000821, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008536/0.0008536, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.862/0.862, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.735/1.735, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.577e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5643/0.5643, allocations: 170.3 MB / 1.166 GB, free: 8.609 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0049/0.5692, allocations: 3.916 MB / 1.17 GB, free: 5.961 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.5695, allocations: 25.03 kB / 1.17 GB, free: 5.949 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0009492/0.5705, allocations: 474.4 kB / 1.17 GB, free: 5.676 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.573, allocations: 1.67 MB / 1.172 GB, free: 4.766 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.5753, allocations: 1.436 MB / 1.173 GB, free: 4.066 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.5767, allocations: 1.684 MB / 1.175 GB, free: 3.27 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008305/0.5775, allocations: 0.8432 MB / 1.176 GB, free: 2.879 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.579, allocations: 1.39 MB / 1.177 GB, free: 2.285 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.5798, allocations: 0.8051 MB / 1.178 GB, free: 2.043 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.58, allocations: 103.3 kB / 1.178 GB, free: 2.043 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5815, allocations: 1.143 MB / 1.179 GB, free: 1.633 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.5818, allocations: 392.6 kB / 1.179 GB, free: 1.438 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0003949/0.5822, allocations: 412.8 kB / 1.18 GB, free: 1.266 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.5841, allocations: 1.826 MB / 1.182 GB, free: 0.6133 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5841, allocations: 0 / 1.182 GB, free: 0.6133 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5841, allocations: 7.938 kB / 1.182 GB, free: 0.6055 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5841, allocations: 0 / 1.182 GB, free: 0.6055 MB / 1.026 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.001668/0.5857, allocations: 1.19 MB / 1.183 GB, free: 15.83 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5858, allocations: 10.41 kB / 1.183 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.5859, allocations: 95.12 kB / 1.183 GB, free: 15.76 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.5875, allocations: 430.5 kB / 1.183 GB, free: 15.69 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.5882, allocations: 0.5701 MB / 1.184 GB, free: 15.33 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.5883, allocations: 41.36 kB / 1.184 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.5884, allocations: 48.34 kB / 1.184 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.5897, allocations: 1.182 MB / 1.185 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5897, allocations: 2.25 kB / 1.185 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.5898, allocations: 25.28 kB / 1.185 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.5898, allocations: 27.77 kB / 1.185 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.5915, allocations: 1.202 MB / 1.186 GB, free: 14.26 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.5951, allocations: 3.929 MB / 1.19 GB, free: 11.46 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.5965, allocations: 0.8476 MB / 1.191 GB, free: 11.15 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/0.5972, allocations: 0.5765 MB / 1.192 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.5975, allocations: 81.25 kB / 1.192 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.5975, allocations: 41.56 kB / 1.192 GB, free: 10.88 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001258/0.5988, allocations: 0.6305 MB / 1.192 GB, free: 10.75 MB / 1.042 GB Notification: Performance of pre-optimization done (n=50): time 1.643e-06/0.5988, allocations: 0 / 1.192 GB, free: 10.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=50): time 0.009852/0.6086, allocations: 3.971 MB / 1.196 GB, free: 9.199 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.6087, allocations: 57.59 kB / 1.196 GB, free: 9.137 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.6093, allocations: 0.7234 MB / 1.197 GB, free: 8.723 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.6094, allocations: 39.98 kB / 1.197 GB, free: 8.68 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.6096, allocations: 321.6 kB / 1.197 GB, free: 8.395 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.6097, allocations: 183.9 kB / 1.197 GB, free: 8.234 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.6099, allocations: 161.3 kB / 1.198 GB, free: 8.129 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.61, allocations: 323.3 kB / 1.198 GB, free: 7.812 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.6107, allocations: 496.6 kB / 1.198 GB, free: 7.551 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.6114, allocations: 0.6329 MB / 1.199 GB, free: 7.125 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.6129, allocations: 1.096 MB / 1.2 GB, free: 6.488 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6129, allocations: 5.312 kB / 1.2 GB, free: 6.484 MB / 1.042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006287/0.6192, allocations: 2.749 MB / 1.203 GB, free: 4.949 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6192, allocations: 8.125 kB / 1.203 GB, free: 4.949 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6192, allocations: 0 / 1.203 GB, free: 4.949 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004481/0.6237, allocations: 1.737 MB / 1.205 GB, free: 4.062 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.6241, allocations: 130.8 kB / 1.205 GB, free: 4.016 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007349/0.6314, allocations: 6.863 MB / 1.211 GB, free: 14.97 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.6319, allocations: 43.92 kB / 1.211 GB, free: 14.95 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.632, allocations: 54.81 kB / 1.211 GB, free: 14.93 MB / 1.057 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.0002668/0.6323, allocations: 205.9 kB / 1.212 GB, free: 14.75 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6324, allocations: 83.73 kB / 1.212 GB, free: 14.71 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.6355, allocations: 1.923 MB / 1.214 GB, free: 13.6 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6355, allocations: 5.281 kB / 1.214 GB, free: 13.6 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6355, allocations: 10.56 kB / 1.214 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6355, allocations: 6.109 kB / 1.214 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.6393, allocations: 2.656 MB / 1.216 GB, free: 11.93 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6393, allocations: 0 / 1.216 GB, free: 11.93 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.6397, allocations: 115.7 kB / 1.216 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.6413, allocations: 0.8059 MB / 1.217 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.6414, allocations: 18.2 kB / 1.217 GB, free: 11.54 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.6454, allocations: 4.599 MB / 1.222 GB, free: 7.848 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6454, allocations: 6.688 kB / 1.222 GB, free: 7.844 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.649, allocations: 2.457 MB / 1.224 GB, free: 5.508 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.6493, allocations: 179.3 kB / 1.224 GB, free: 5.332 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/0.6494, allocations: 12 kB / 1.224 GB, free: 5.32 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.6498, allocations: 50.75 kB / 1.224 GB, free: 5.273 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6499, allocations: 52.34 kB / 1.224 GB, free: 5.223 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.65, allocations: 23.98 kB / 1.224 GB, free: 5.199 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004175/0.6504, allocations: 0.5068 MB / 1.225 GB, free: 4.699 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6504, allocations: 4 kB / 1.225 GB, free: 4.695 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0007501/0.6512, allocations: 295.8 kB / 1.225 GB, free: 4.406 MB / 1.057 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 (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%), (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.004059/0.6552, allocations: 3.084 MB / 1.228 GB, free: 1.27 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.6578, allocations: 1.612 MB / 1.23 GB, free: 15.63 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6578, allocations: 0 / 1.23 GB, free: 15.63 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.6589, allocations: 0.9494 MB / 1.231 GB, free: 14.66 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6601, allocations: 458 kB / 1.231 GB, free: 14.22 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.6778, allocations: 11.06 MB / 1.242 GB, free: 2.98 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.6781, allocations: 385.4 kB / 1.242 GB, free: 2.578 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0005251/0.6786, allocations: 166.7 kB / 1.242 GB, free: 2.41 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.679, allocations: 288.4 kB / 1.243 GB, free: 2.129 MB / 1.073 GB Notification: Performance of SimCode: time 1.192e-06/0.679, allocations: 0 / 1.243 GB, free: 2.129 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04505/0.724, allocations: 35.17 MB / 1.277 GB, free: 15.55 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.845, allocations: 6.984 kB / 1.277 GB, free: 15.54 MB / 1.12 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.851379750296474]