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.001823/0.001823, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002379/0.002379, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.021/3.021, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",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.0019/0.0019, allocations: 68.86 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.332, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2455/0.5774, allocations: 196.7 MB / 1.519 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008947/0.5864, allocations: 4.046 MB / 1.523 GB, free: 8.535 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.5875, allocations: 31.75 kB / 1.523 GB, free: 8.504 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.5891, allocations: 493 kB / 1.523 GB, free: 8.02 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.5943, allocations: 1.595 MB / 1.525 GB, free: 6.418 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004668/0.599, allocations: 1.418 MB / 1.526 GB, free: 5 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.6022, allocations: 1.635 MB / 1.528 GB, free: 3.359 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.6038, allocations: 0.8421 MB / 1.528 GB, free: 2.504 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.6062, allocations: 1.11 MB / 1.53 GB, free: 1.391 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.608, allocations: 0.9151 MB / 1.53 GB, free: 484 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.6083, allocations: 96 kB / 1.531 GB, free: 388 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.6114, allocations: 1.391 MB / 1.532 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000644/0.612, allocations: 374.9 kB / 1.532 GB, free: 14.62 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.6131, allocations: 0.5211 MB / 1.533 GB, free: 14.09 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.6162, allocations: 1.663 MB / 1.534 GB, free: 12.43 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6162, allocations: 4 kB / 1.534 GB, free: 12.42 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6162, allocations: 0 / 1.534 GB, free: 12.42 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.6162, allocations: 4 kB / 1.534 GB, free: 12.42 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.002721/0.6189, allocations: 1.185 MB / 1.536 GB, free: 11.2 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.619, allocations: 12.03 kB / 1.536 GB, free: 11.18 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.34e-05/0.619, allocations: 17 kB / 1.536 GB, free: 11.17 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.6191, allocations: 90.52 kB / 1.536 GB, free: 11.07 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.6207, allocations: 243.2 kB / 1.536 GB, free: 10.83 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.6217, allocations: 0.5615 MB / 1.536 GB, free: 10.24 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.6217, allocations: 41 kB / 1.537 GB, free: 10.2 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.6219, allocations: 48 kB / 1.537 GB, free: 10.16 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.6235, allocations: 1.002 MB / 1.538 GB, free: 9.082 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6235, allocations: 0 / 1.538 GB, free: 9.082 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/0.6236, allocations: 27.98 kB / 1.538 GB, free: 9.055 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.6237, allocations: 35.86 kB / 1.538 GB, free: 9.02 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.6254, allocations: 1.003 MB / 1.539 GB, free: 8.02 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005446/0.6308, allocations: 4.098 MB / 1.543 GB, free: 3.754 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.6319, allocations: 0.5601 MB / 1.543 GB, free: 3.184 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/0.6327, allocations: 488 kB / 1.544 GB, free: 2.707 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000716/0.6334, allocations: 140.3 kB / 1.544 GB, free: 2.57 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.6334, allocations: 35 kB / 1.544 GB, free: 2.527 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002283/0.6357, allocations: 0.6361 MB / 1.544 GB, free: 1.891 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/0.6357, allocations: 0 / 1.544 GB, free: 1.891 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01775/0.6535, allocations: 3.675 MB / 1.548 GB, free: 14.19 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.6535, allocations: 59.78 kB / 1.548 GB, free: 14.12 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.6546, allocations: 0.7077 MB / 1.549 GB, free: 13.41 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.6547, allocations: 37.7 kB / 1.549 GB, free: 13.36 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.655, allocations: 328.8 kB / 1.549 GB, free: 13.04 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.6552, allocations: 186.3 kB / 1.549 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.6555, allocations: 150 kB / 1.549 GB, free: 12.71 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6557, allocations: 326 kB / 1.55 GB, free: 12.38 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.6564, allocations: 396.8 kB / 1.55 GB, free: 12 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.6572, allocations: 488.8 kB / 1.551 GB, free: 11.49 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.6588, allocations: 0.9219 MB / 1.551 GB, free: 10.54 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6588, allocations: 0 / 1.551 GB, free: 10.54 MB / 1.248 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01163/0.6704, allocations: 2.545 MB / 1.554 GB, free: 7.98 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6704, allocations: 10.16 kB / 1.554 GB, free: 7.973 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6704, allocations: 11.92 kB / 1.554 GB, free: 7.961 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00971/0.6802, allocations: 1.73 MB / 1.556 GB, free: 6.223 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.6806, allocations: 87.86 kB / 1.556 GB, free: 6.137 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.6941, allocations: 6.952 MB / 1.563 GB, free: 14.94 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.695, allocations: 20.05 kB / 1.563 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.6951, allocations: 47.92 kB / 1.563 GB, free: 14.88 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.0004447/0.6955, allocations: 205.7 kB / 1.563 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.6957, allocations: 87.42 kB / 1.563 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/0.7008, allocations: 1.728 MB / 1.565 GB, free: 12.83 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.7008, allocations: 8 kB / 1.565 GB, free: 12.82 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.7008, allocations: 4 kB / 1.565 GB, free: 12.82 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.7009, allocations: 3.984 kB / 1.565 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/0.707, allocations: 2.502 MB / 1.567 GB, free: 10.24 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.707, allocations: 4 kB / 1.567 GB, free: 10.23 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.7074, allocations: 91.88 kB / 1.567 GB, free: 10.14 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003412/0.7108, allocations: 0.7939 MB / 1.568 GB, free: 9.344 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.7109, allocations: 20 kB / 1.568 GB, free: 9.324 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007556/0.7185, allocations: 4.655 MB / 1.572 GB, free: 4.441 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.7185, allocations: 0 / 1.572 GB, free: 4.441 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.724, allocations: 2.142 MB / 1.575 GB, free: 2.258 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.7246, allocations: 159.3 kB / 1.575 GB, free: 2.102 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.7247, allocations: 16 kB / 1.575 GB, free: 2.086 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.7252, allocations: 23.98 kB / 1.575 GB, free: 2.062 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.7254, allocations: 52.34 kB / 1.575 GB, free: 2.012 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.7255, allocations: 23.98 kB / 1.575 GB, free: 1.988 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006863/0.7262, allocations: 0.499 MB / 1.575 GB, free: 1.496 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.7262, allocations: 0 / 1.575 GB, free: 1.496 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001053/0.7272, allocations: 283.8 kB / 1.576 GB, free: 1.219 MB / 1.264 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.006177/0.7334, allocations: 2.8 MB / 1.578 GB, free: 14.36 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.7371, allocations: 1.417 MB / 1.58 GB, free: 12.92 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7371, allocations: 0 / 1.58 GB, free: 12.92 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.739, allocations: 0.8558 MB / 1.581 GB, free: 12.04 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.7415, allocations: 463.3 kB / 1.581 GB, free: 11.59 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/0.7751, allocations: 10.44 MB / 1.591 GB, free: 0.9688 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.7757, allocations: 0.9751 MB / 1.592 GB, free: 15.96 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006551/0.7764, allocations: 166.6 kB / 1.592 GB, free: 15.79 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.7768, allocations: 283.3 kB / 1.593 GB, free: 15.52 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/0.7768, allocations: 0 / 1.593 GB, free: 15.52 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7008/1.478, allocations: 30.5 MB / 1.622 GB, free: 275.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.56, allocations: 12.47 kB / 1.622 GB, free: 275.9 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.1524199389969]