Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001725/0.001725, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00217/0.00217, allocations: 187.6 kB / 22.1 MB, free: 4.223 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.726/1.726, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.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 2.941/2.941, allocations: 495.8 MB / 0.783 GB, free: 12.31 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw")
translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 60.14 kB / 1.137 GB, free: 12.22 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.294/1.297, allocations: 173.6 MB / 1.307 GB, free: 33.81 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003209/1.3, allocations: 1.268 MB / 1.308 GB, free: 32.93 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0003748/1.3, allocations: 129.8 kB / 1.308 GB, free: 32.84 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/1.3, allocations: 0 / 1.308 GB, free: 32.84 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.612e-05/1.3, allocations: 0 / 1.308 GB, free: 32.84 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 9.772e-05/1.3, allocations: 3.938 kB / 1.308 GB, free: 32.84 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002898/1.301, allocations: 44.11 kB / 1.308 GB, free: 32.82 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 7.59e-05/1.301, allocations: 17.7 kB / 1.308 GB, free: 32.81 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.918e-05/1.301, allocations: 6.453 kB / 1.308 GB, free: 32.81 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/1.301, allocations: 6.906 kB / 1.308 GB, free: 32.81 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/1.301, allocations: 6.875 kB / 1.308 GB, free: 32.8 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.49e-05/1.301, allocations: 0 / 1.308 GB, free: 32.8 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/1.301, allocations: 53.12 kB / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.723e-05/1.301, allocations: 0 / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.882e-05/1.301, allocations: 6.594 kB / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001522/1.301, allocations: 42.28 kB / 1.308 GB, free: 32.78 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.301, allocations: 0 / 1.308 GB, free: 32.78 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.633e-06/1.301, allocations: 0 / 1.308 GB, free: 32.78 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.267e-05/1.301, allocations: 0 / 1.308 GB, free: 32.78 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0004042/1.302, allocations: 256.2 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.302, allocations: 8.469 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/1.302, allocations: 3.844 kB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/1.302, allocations: 117.9 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.302, allocations: 3.281 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/1.302, allocations: 4.375 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/1.302, allocations: 40.53 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/1.302, allocations: 0 / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/1.302, allocations: 0 / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/1.302, allocations: 6.75 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/1.302, allocations: 2.875 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/1.302, allocations: 127.1 kB / 1.309 GB, free: 32.17 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.108e-05/1.302, allocations: 31.73 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/1.302, allocations: 11.7 kB / 1.309 GB, free: 32.12 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/1.303, allocations: 80.22 kB / 1.309 GB, free: 32.12 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/1.303, allocations: 33.41 kB / 1.309 GB, free: 32.08 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.303, allocations: 0 / 1.309 GB, free: 32.08 MB / 1.061 GB
Notification: Performance of matching and sorting (n=2): time 0.0001773/1.303, allocations: 42.36 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/1.303, allocations: 55.53 kB / 1.309 GB, free: 31.98 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/1.303, allocations: 103.7 kB / 1.309 GB, free: 31.87 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 9.238e-06/1.303, allocations: 25.7 kB / 1.309 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/1.303, allocations: 80.14 kB / 1.309 GB, free: 31.76 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/1.303, allocations: 7.375 kB / 1.309 GB, free: 31.75 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/1.303, allocations: 16.59 kB / 1.309 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.845e-05/1.303, allocations: 310.8 kB / 1.31 GB, free: 31.42 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/1.303, allocations: 2.781 kB / 1.31 GB, free: 31.42 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/1.303, allocations: 6.875 kB / 1.31 GB, free: 31.42 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.474e-05/1.303, allocations: 17.64 kB / 1.31 GB, free: 31.41 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.303, allocations: 0 / 1.31 GB, free: 31.41 MB / 1.061 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 6.77e-05/1.303, allocations: 38.64 kB / 1.31 GB, free: 31.37 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.303, allocations: 9.531 kB / 1.31 GB, free: 31.37 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.303, allocations: 0 / 1.31 GB, free: 31.37 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.303, allocations: 0 / 1.31 GB, free: 31.37 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/1.304, allocations: 9.594 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.304, allocations: 0 / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/1.304, allocations: 7.125 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/1.304, allocations: 0 / 1.31 GB, free: 31.36 MB / 1.061 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 (2):
 * Single equations (assignments): 2
 * 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 6.148e-05/1.304, allocations: 113.8 kB / 1.31 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/1.304, allocations: 6.75 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.304, allocations: 48.64 kB / 1.31 GB, free: 31.19 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.304, allocations: 0 / 1.31 GB, free: 31.19 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.304, allocations: 0 / 1.31 GB, free: 31.19 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.304, allocations: 0 / 1.31 GB, free: 31.19 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.487e-05/1.304, allocations: 129.4 kB / 1.31 GB, free: 31.03 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.304, allocations: 11.88 kB / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/1.304, allocations: 5.953 kB / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.304, allocations: 3.938 kB / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.304, allocations: 0 / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.304, allocations: 0 / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.304, allocations: 0 / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.602e-05/1.304, allocations: 64.14 kB / 1.31 GB, free: 30.95 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/1.304, allocations: 7.969 kB / 1.31 GB, free: 30.94 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.304, allocations: 2.781 kB / 1.31 GB, free: 30.94 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/1.304, allocations: 0 / 1.31 GB, free: 30.94 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/1.304, allocations: 0 / 1.31 GB, free: 30.94 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/1.304, allocations: 4 kB / 1.31 GB, free: 30.94 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.584e-05/1.304, allocations: 81.62 kB / 1.31 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.304, allocations: 0 / 1.31 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002209/1.304, allocations: 15.69 kB / 1.31 GB, free: 30.86 MB / 1.061 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 (2):
 * Single equations (assignments): 2
 * 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.0001831/1.304, allocations: 116.1 kB / 1.31 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.000105/1.305, allocations: 9.688 kB / 1.31 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.305, allocations: 0 / 1.31 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 1.104e-05/1.305, allocations: 5.594 kB / 1.31 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/1.305, allocations: 10.42 kB / 1.31 GB, free: 30.75 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/1.305, allocations: 110.7 kB / 1.31 GB, free: 30.64 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.305, allocations: 0.672 MB / 1.311 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 3.394e-05/1.305, allocations: 14.17 kB / 1.311 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/1.305, allocations: 11.42 kB / 1.311 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of SimCode: time 3.9e-07/1.305, allocations: 0 / 1.311 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of Templates: time 0.00371/1.309, allocations: 0.6094 MB / 1.312 GB, free: 29.85 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.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: 10.385146814398468]