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.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.001851/0.001851, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001935/0.001935, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.53/1.53, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.241/3.241, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.88 kB / 1.103 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339/1.341, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2819/1.623, allocations: 192.7 MB / 1.451 GB, free: 6.801 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008178/1.631, allocations: 4.03 MB / 1.455 GB, free: 3.438 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/1.633, allocations: 19.88 kB / 1.455 GB, free: 3.418 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/1.634, allocations: 477 kB / 1.455 GB, free: 2.949 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004939/1.639, allocations: 1.513 MB / 1.457 GB, free: 1.43 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/1.643, allocations: 1.358 MB / 1.458 GB, free: 76 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003194/1.647, allocations: 1.631 MB / 1.46 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/1.648, allocations: 0.947 MB / 1.46 GB, free: 13.47 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/1.651, allocations: 1.063 MB / 1.461 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/1.652, allocations: 0.841 MB / 1.462 GB, free: 11.56 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/1.653, allocations: 96 kB / 1.462 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/1.656, allocations: 1.298 MB / 1.464 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004663/1.656, allocations: 350.9 kB / 1.464 GB, free: 9.824 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008196/1.657, allocations: 0.5172 MB / 1.464 GB, free: 9.305 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003627/1.661, allocations: 1.634 MB / 1.466 GB, free: 7.668 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.661, allocations: 0 / 1.466 GB, free: 7.668 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.275e-06/1.661, allocations: 0 / 1.466 GB, free: 7.668 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.592e-05/1.661, allocations: 4 kB / 1.466 GB, free: 7.664 MB / 1.154 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.003501/1.664, allocations: 1.471 MB / 1.468 GB, free: 6.141 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.665, allocations: 15.97 kB / 1.468 GB, free: 6.125 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/1.666, allocations: 243.2 kB / 1.468 GB, free: 5.887 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/1.667, allocations: 0.6194 MB / 1.468 GB, free: 5.227 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/1.667, allocations: 37 kB / 1.468 GB, free: 5.191 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.668, allocations: 48 kB / 1.468 GB, free: 5.145 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/1.669, allocations: 0.9648 MB / 1.469 GB, free: 4.109 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.669, allocations: 7.938 kB / 1.469 GB, free: 4.102 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/1.669, allocations: 20 kB / 1.469 GB, free: 4.082 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/1.669, allocations: 31.98 kB / 1.469 GB, free: 4.051 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/1.671, allocations: 0.9406 MB / 1.47 GB, free: 3.109 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006018/1.677, allocations: 4.255 MB / 1.475 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.678, allocations: 0.6017 MB / 1.475 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/1.679, allocations: 0.5097 MB / 1.476 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.68, allocations: 0.8782 MB / 1.476 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/1.68, allocations: 39 kB / 1.477 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001517/1.682, allocations: 423.4 kB / 1.477 GB, free: 12.03 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 3.025e-06/1.682, allocations: 0 / 1.477 GB, free: 12.03 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.01866/1.701, allocations: 3.838 MB / 1.481 GB, free: 8.141 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/1.701, allocations: 59.78 kB / 1.481 GB, free: 8.07 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.702, allocations: 0.7078 MB / 1.481 GB, free: 7.355 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.702, allocations: 41.7 kB / 1.481 GB, free: 7.309 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/1.703, allocations: 328.8 kB / 1.482 GB, free: 6.984 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/1.703, allocations: 182.4 kB / 1.482 GB, free: 6.805 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/1.704, allocations: 146.1 kB / 1.482 GB, free: 6.656 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.704, allocations: 330 kB / 1.482 GB, free: 6.328 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/1.705, allocations: 396.9 kB / 1.483 GB, free: 5.941 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009105/1.706, allocations: 489.5 kB / 1.483 GB, free: 5.434 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/1.707, allocations: 0.918 MB / 1.484 GB, free: 4.488 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/1.707, allocations: 0 / 1.484 GB, free: 4.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01232/1.72, allocations: 2.561 MB / 1.487 GB, free: 1.91 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/1.72, allocations: 11.98 kB / 1.487 GB, free: 1.898 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.72, allocations: 0 / 1.487 GB, free: 1.898 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.73, allocations: 1.73 MB / 1.488 GB, free: 164 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/1.731, allocations: 99.8 kB / 1.488 GB, free: 64 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/1.746, allocations: 7.154 MB / 1.495 GB, free: 8.613 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.747, allocations: 20.05 kB / 1.495 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.747, allocations: 47.92 kB / 1.495 GB, free: 8.547 MB / 1.186 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.0006926/1.748, allocations: 213.2 kB / 1.496 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/1.748, allocations: 83.48 kB / 1.496 GB, free: 8.25 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005896/1.754, allocations: 1.741 MB / 1.497 GB, free: 6.496 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.754, allocations: 8 kB / 1.497 GB, free: 6.488 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.754, allocations: 0 / 1.497 GB, free: 6.488 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.754, allocations: 3.984 kB / 1.497 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/1.761, allocations: 2.54 MB / 1.5 GB, free: 3.859 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.761, allocations: 0 / 1.5 GB, free: 3.859 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/1.762, allocations: 91.83 kB / 1.5 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.766, allocations: 0.7979 MB / 1.501 GB, free: 2.965 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/1.766, allocations: 20 kB / 1.501 GB, free: 2.945 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008164/1.774, allocations: 4.852 MB / 1.506 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.774, allocations: 4 kB / 1.506 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/1.78, allocations: 2.155 MB / 1.508 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/1.781, allocations: 240.5 kB / 1.508 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/1.781, allocations: 15.98 kB / 1.508 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/1.782, allocations: 23.98 kB / 1.508 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/1.782, allocations: 52.38 kB / 1.508 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/1.782, allocations: 19.98 kB / 1.508 GB, free: 11.25 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009511/1.783, allocations: 0.5029 MB / 1.509 GB, free: 10.75 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.21e-07/1.783, allocations: 0 / 1.509 GB, free: 10.75 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001413/1.785, allocations: 283.8 kB / 1.509 GB, free: 10.47 MB / 1.201 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.0007227/1.786, allocations: 225.5 kB / 1.509 GB, free: 10.25 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004374/1.79, allocations: 1.464 MB / 1.51 GB, free: 8.766 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.79, allocations: 0 / 1.51 GB, free: 8.766 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/1.792, allocations: 0.9147 MB / 1.511 GB, free: 7.82 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.795, allocations: 467.1 kB / 1.512 GB, free: 7.367 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/1.8, allocations: 1.773 MB / 1.514 GB, free: 5.543 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/1.801, allocations: 0.975 MB / 1.514 GB, free: 4.539 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/1.802, allocations: 71.42 kB / 1.515 GB, free: 4.469 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/1.802, allocations: 0 / 1.515 GB, free: 4.469 MB / 1.201 GB Notification: Performance of Templates: time 0.04028/1.842, allocations: 19.37 MB / 1.533 GB, free: 1.211 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 800] 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_2/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: 16.8529209359549]