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.001691/0.001691, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001485/0.001485, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.225/3.225, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 69.08 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2099/0.5436, allocations: 170.5 MB / 1.53 GB, free: 2.977 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007112/0.5507, allocations: 3.941 MB / 1.534 GB, free: 15.03 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.5517, allocations: 23.81 kB / 1.534 GB, free: 15 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.5531, allocations: 477 kB / 1.534 GB, free: 14.54 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004452/0.5576, allocations: 1.626 MB / 1.536 GB, free: 12.9 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.5616, allocations: 1.401 MB / 1.537 GB, free: 11.5 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002975/0.5645, allocations: 1.682 MB / 1.539 GB, free: 9.816 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.566, allocations: 0.8422 MB / 1.54 GB, free: 8.961 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.5687, allocations: 1.133 MB / 1.541 GB, free: 7.824 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.5702, allocations: 0.8604 MB / 1.542 GB, free: 6.961 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/0.5704, allocations: 104 kB / 1.542 GB, free: 6.859 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.573, allocations: 1.134 MB / 1.543 GB, free: 5.723 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.5735, allocations: 386.8 kB / 1.543 GB, free: 5.344 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.5741, allocations: 470.1 kB / 1.544 GB, free: 4.883 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.5773, allocations: 1.698 MB / 1.545 GB, free: 3.18 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5773, allocations: 3.938 kB / 1.545 GB, free: 3.176 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5773, allocations: 0 / 1.545 GB, free: 3.176 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.077e-05/0.5774, allocations: 0 / 1.545 GB, free: 3.176 MB / 1.232 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.002995/0.5804, allocations: 1.208 MB / 1.546 GB, free: 1.93 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5804, allocations: 12.03 kB / 1.546 GB, free: 1.918 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.5806, allocations: 94.5 kB / 1.547 GB, free: 1.816 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.5837, allocations: 434.8 kB / 1.547 GB, free: 1.391 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.5851, allocations: 0.585 MB / 1.548 GB, free: 0.7773 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.5852, allocations: 37 kB / 1.548 GB, free: 0.7422 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5853, allocations: 48 kB / 1.548 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.5876, allocations: 1.179 MB / 1.549 GB, free: 15.44 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.5877, allocations: 3.938 kB / 1.549 GB, free: 15.43 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/0.5878, allocations: 28 kB / 1.549 GB, free: 15.41 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.165e-05/0.5878, allocations: 27.92 kB / 1.549 GB, free: 15.38 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.5905, allocations: 1.21 MB / 1.55 GB, free: 14.17 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006839/0.5974, allocations: 3.921 MB / 1.554 GB, free: 10.12 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.5998, allocations: 0.8495 MB / 1.555 GB, free: 9.27 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.6011, allocations: 0.5742 MB / 1.555 GB, free: 8.695 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000535/0.6017, allocations: 88.34 kB / 1.555 GB, free: 8.609 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.6017, allocations: 39 kB / 1.555 GB, free: 8.562 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002701/0.6044, allocations: 0.6244 MB / 1.556 GB, free: 7.938 MB / 1.248 GB Notification: Performance of pre-optimization done (n=50): time 4.668e-06/0.6044, allocations: 4 kB / 1.556 GB, free: 7.934 MB / 1.248 GB Notification: Performance of matching and sorting (n=50): time 0.02044/0.6248, allocations: 3.976 MB / 1.56 GB, free: 3.938 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.6249, allocations: 59.84 kB / 1.56 GB, free: 3.867 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.6261, allocations: 0.7195 MB / 1.561 GB, free: 3.137 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.6263, allocations: 37.7 kB / 1.561 GB, free: 3.094 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.6267, allocations: 324.9 kB / 1.561 GB, free: 2.773 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.6269, allocations: 186.4 kB / 1.561 GB, free: 2.59 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.6273, allocations: 154 kB / 1.561 GB, free: 2.43 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.6275, allocations: 330 kB / 1.562 GB, free: 2.102 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.6287, allocations: 0.4928 MB / 1.562 GB, free: 1.609 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.63, allocations: 0.6252 MB / 1.563 GB, free: 0.9453 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.6325, allocations: 1.101 MB / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.6325, allocations: 0 / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01318/0.6457, allocations: 2.759 MB / 1.566 GB, free: 13.04 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.6457, allocations: 7.984 kB / 1.566 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.6458, allocations: 4 kB / 1.566 GB, free: 13.03 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.6558, allocations: 1.726 MB / 1.568 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008811/0.6567, allocations: 127.8 kB / 1.568 GB, free: 11.17 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.671, allocations: 6.871 MB / 1.575 GB, free: 4.059 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6724, allocations: 44.02 kB / 1.575 GB, free: 4.016 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.6725, allocations: 51.92 kB / 1.575 GB, free: 3.965 MB / 1.264 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.0004921/0.673, allocations: 210.3 kB / 1.575 GB, free: 3.75 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.6732, allocations: 87.44 kB / 1.575 GB, free: 3.664 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/0.6794, allocations: 1.92 MB / 1.577 GB, free: 1.727 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6794, allocations: 4 kB / 1.577 GB, free: 1.723 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.6794, allocations: 4 kB / 1.577 GB, free: 1.719 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.6794, allocations: 0 / 1.577 GB, free: 1.719 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/0.687, allocations: 2.666 MB / 1.58 GB, free: 14.97 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.6871, allocations: 8.438 kB / 1.58 GB, free: 14.96 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/0.6878, allocations: 115.8 kB / 1.58 GB, free: 14.85 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003587/0.6914, allocations: 0.802 MB / 1.581 GB, free: 14.04 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.6916, allocations: 15.98 kB / 1.581 GB, free: 14.03 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0075/0.6991, allocations: 4.602 MB / 1.585 GB, free: 9.195 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.6991, allocations: 7.984 kB / 1.585 GB, free: 9.188 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007191/0.7063, allocations: 2.457 MB / 1.588 GB, free: 6.688 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/0.7069, allocations: 175.3 kB / 1.588 GB, free: 6.516 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.7071, allocations: 12 kB / 1.588 GB, free: 6.504 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/0.708, allocations: 51.94 kB / 1.588 GB, free: 6.453 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.7082, allocations: 56.22 kB / 1.588 GB, free: 6.398 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.7083, allocations: 23.98 kB / 1.588 GB, free: 6.375 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007191/0.709, allocations: 0.5068 MB / 1.588 GB, free: 5.871 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.709, allocations: 0 / 1.588 GB, free: 5.871 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001057/0.7101, allocations: 299.8 kB / 1.589 GB, free: 5.578 MB / 1.279 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.007665/0.7177, allocations: 3.085 MB / 1.592 GB, free: 2.449 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004924/0.7227, allocations: 1.604 MB / 1.593 GB, free: 0.8164 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.7227, allocations: 4 kB / 1.593 GB, free: 0.8125 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.7252, allocations: 0.9646 MB / 1.594 GB, free: 15.82 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.7276, allocations: 466.9 kB / 1.595 GB, free: 15.37 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03605/0.7637, allocations: 11.14 MB / 1.606 GB, free: 4.004 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.7642, allocations: 385.4 kB / 1.606 GB, free: 3.602 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009429/0.7651, allocations: 166.7 kB / 1.606 GB, free: 3.434 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.7657, allocations: 291.3 kB / 1.606 GB, free: 3.148 MB / 1.295 GB Notification: Performance of SimCode: time 8.92e-07/0.7657, allocations: 0 / 1.606 GB, free: 3.148 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7402/1.506, allocations: 35.44 MB / 1.641 GB, free: 238.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.41, allocations: 10.88 kB / 1.641 GB, free: 238.8 MB / 1.295 GB " [Timeout remaining time 285] (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/jenkins1/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: 21.176238884218037]