Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 192.1 kB / 22.11 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.046/3.046, allocations: 495.8 MB / 0.783 GB, free: 33.43 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM")
translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 68.33 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3474, allocations: 173.6 MB / 1.307 GB, free: 1.902 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00292/0.3503, allocations: 1.299 MB / 1.308 GB, free: 0.5938 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0006616/0.3509, allocations: 310.9 kB / 1.308 GB, free: 296 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.351, allocations: 4 kB / 1.308 GB, free: 292 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.351, allocations: 0 / 1.308 GB, free: 292 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.3511, allocations: 11.86 kB / 1.308 GB, free: 280 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3515, allocations: 79.73 kB / 1.308 GB, free: 200 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.214e-05/0.3516, allocations: 35.86 kB / 1.308 GB, free: 164 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.3516, allocations: 4 kB / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3518, allocations: 39.83 kB / 1.308 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.3518, allocations: 7.938 kB / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3518, allocations: 0 / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.352, allocations: 87.91 kB / 1.309 GB, free: 24 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.3521, allocations: 4 kB / 1.309 GB, free: 20 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.3521, allocations: 11.92 kB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3523, allocations: 75.72 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3523, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.753e-06/0.3523, allocations: 7.938 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.233e-06/0.3523, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0004632/0.3528, allocations: 274.1 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3528, allocations: 11.97 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.3529, allocations: 8.891 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.353, allocations: 110.5 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.353, allocations: 384 / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.353, allocations: 4.375 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3532, allocations: 41.62 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3532, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3532, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3532, allocations: 4 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.3532, allocations: 15.92 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.3534, allocations: 136.8 kB / 1.309 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3535, allocations: 34.61 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.3536, allocations: 8.859 kB / 1.309 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007328/0.3543, allocations: 147.8 kB / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3543, allocations: 30.56 kB / 1.309 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3543, allocations: 0 / 1.309 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0001872/0.3545, allocations: 57.58 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3546, allocations: 51.41 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.3547, allocations: 105.8 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3547, allocations: 25.7 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.3547, allocations: 88.14 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3548, allocations: 7.953 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.3548, allocations: 17.67 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000142/0.3549, allocations: 318.8 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.355, allocations: 4 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.355, allocations: 4 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.355, allocations: 20.8 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.355, allocations: 0 / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.95e-05/0.3551, allocations: 53.62 kB / 1.31 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3551, allocations: 11.94 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3551, allocations: 0 / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3551, allocations: 0 / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.3552, allocations: 4 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3552, allocations: 0 / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.3552, allocations: 4 kB / 1.31 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3552, allocations: 3.984 kB / 1.31 GB, free: 14.17 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * 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 (3):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/0.3553, allocations: 110.6 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3553, allocations: 7.938 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.3555, allocations: 65.62 kB / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3555, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3555, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3555, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.3556, allocations: 136.6 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3556, allocations: 3.938 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.3557, allocations: 7.984 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3557, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3557, allocations: 4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3557, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3557, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3558, allocations: 81.44 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3558, allocations: 15.94 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3558, allocations: 3.984 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.3559, allocations: 3.984 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.3559, allocations: 4 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3559, allocations: 8 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.676e-05/0.356, allocations: 83.27 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.356, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002245/0.3562, allocations: 31.88 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (3):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.3564, allocations: 127.1 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001047/0.3565, allocations: 15.98 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3565, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.3565, allocations: 11.94 kB / 1.311 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3568, allocations: 19 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.3571, allocations: 118.2 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3574, allocations: 0.6807 MB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.764e-05/0.3575, allocations: 11.98 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3575, allocations: 7.438 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of SimCode: time 3.71e-07/0.3575, allocations: 0 / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of Templates: time 0.003692/0.3612, allocations: 0.7972 MB / 1.312 GB, free: 11.69 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: 8.598034882918]