Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001335/0.001335, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.00131/0.00131, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.445/1.445, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2509/1.288, allocations: 193.7 MB / 1.461 GB, free: 2.918 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00709/1.295, allocations: 4.021 MB / 1.465 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008164/1.296, allocations: 19.88 kB / 1.465 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/1.297, allocations: 0.4892 MB / 1.466 GB, free: 14.38 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00382/1.301, allocations: 1.583 MB / 1.467 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/1.304, allocations: 1.392 MB / 1.468 GB, free: 11.39 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002161/1.307, allocations: 1.631 MB / 1.47 GB, free: 9.754 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/1.308, allocations: 0.8416 MB / 1.471 GB, free: 8.898 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/1.309, allocations: 0.9579 MB / 1.472 GB, free: 7.938 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/1.31, allocations: 0.919 MB / 1.473 GB, free: 7.016 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/1.311, allocations: 96 kB / 1.473 GB, free: 6.922 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/1.313, allocations: 1.395 MB / 1.474 GB, free: 5.523 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000392/1.314, allocations: 362.9 kB / 1.474 GB, free: 5.168 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/1.314, allocations: 0.5211 MB / 1.475 GB, free: 4.645 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/1.317, allocations: 1.661 MB / 1.477 GB, free: 2.98 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.317, allocations: 0 / 1.477 GB, free: 2.98 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.82e-07/1.317, allocations: 0 / 1.477 GB, free: 2.98 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.317, allocations: 0 / 1.477 GB, free: 2.98 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.00277/1.319, allocations: 1.264 MB / 1.478 GB, free: 1.664 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/1.319, allocations: 8.031 kB / 1.478 GB, free: 1.656 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/1.321, allocations: 243.2 kB / 1.478 GB, free: 1.418 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.322, allocations: 0.6233 MB / 1.479 GB, free: 0.75 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/1.322, allocations: 41 kB / 1.479 GB, free: 0.707 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.322, allocations: 55.89 kB / 1.479 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/1.324, allocations: 1.005 MB / 1.48 GB, free: 15.58 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.324, allocations: 0 / 1.48 GB, free: 15.58 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/1.324, allocations: 28 kB / 1.48 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/1.324, allocations: 27.98 kB / 1.48 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/1.326, allocations: 1.007 MB / 1.481 GB, free: 14.52 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/1.331, allocations: 4.138 MB / 1.485 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.332, allocations: 0.5587 MB / 1.485 GB, free: 9.645 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/1.333, allocations: 488.4 kB / 1.486 GB, free: 9.168 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.334, allocations: 0.8899 MB / 1.487 GB, free: 8.094 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.334, allocations: 39 kB / 1.487 GB, free: 8.043 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002387/1.337, allocations: 0.6322 MB / 1.487 GB, free: 7.41 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/1.337, allocations: 0 / 1.487 GB, free: 7.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.01785/1.355, allocations: 3.83 MB / 1.491 GB, free: 3.527 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.355, allocations: 63.78 kB / 1.491 GB, free: 3.453 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/1.356, allocations: 0.7 MB / 1.492 GB, free: 2.742 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/1.356, allocations: 37.7 kB / 1.492 GB, free: 2.699 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/1.356, allocations: 332.8 kB / 1.492 GB, free: 2.371 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/1.356, allocations: 178.4 kB / 1.492 GB, free: 2.195 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/1.356, allocations: 154.1 kB / 1.493 GB, free: 2.039 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.357, allocations: 326 kB / 1.493 GB, free: 1.715 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007386/1.357, allocations: 396.9 kB / 1.493 GB, free: 1.324 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00083/1.358, allocations: 493.5 kB / 1.494 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.36, allocations: 0.9219 MB / 1.495 GB, free: 15.87 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.36, allocations: 0 / 1.495 GB, free: 15.87 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01151/1.371, allocations: 2.553 MB / 1.497 GB, free: 13.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1.371, allocations: 8 kB / 1.497 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.371, allocations: 0 / 1.497 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009816/1.381, allocations: 1.73 MB / 1.499 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/1.382, allocations: 95.86 kB / 1.499 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/1.396, allocations: 7.153 MB / 1.506 GB, free: 4.012 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/1.396, allocations: 24.05 kB / 1.506 GB, free: 3.988 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.397, allocations: 47.92 kB / 1.506 GB, free: 3.941 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.0003834/1.397, allocations: 201.8 kB / 1.506 GB, free: 3.734 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.397, allocations: 87.44 kB / 1.506 GB, free: 3.648 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/1.403, allocations: 1.727 MB / 1.508 GB, free: 1.902 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.403, allocations: 8 kB / 1.508 GB, free: 1.895 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.403, allocations: 8 kB / 1.508 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.403, allocations: 7.984 kB / 1.508 GB, free: 1.879 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/1.409, allocations: 2.528 MB / 1.51 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.409, allocations: 192 / 1.51 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/1.409, allocations: 95.83 kB / 1.51 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003596/1.413, allocations: 0.7976 MB / 1.511 GB, free: 14.37 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.087e-05/1.413, allocations: 15.98 kB / 1.511 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/1.42, allocations: 4.857 MB / 1.516 GB, free: 9.215 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.42, allocations: 0 / 1.516 GB, free: 9.215 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/1.426, allocations: 2.144 MB / 1.518 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/1.426, allocations: 240.4 kB / 1.518 GB, free: 6.777 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.427, allocations: 12 kB / 1.518 GB, free: 6.766 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/1.427, allocations: 19.98 kB / 1.518 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.427, allocations: 60.38 kB / 1.518 GB, free: 6.688 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/1.427, allocations: 24.11 kB / 1.518 GB, free: 6.664 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006951/1.428, allocations: 0.4951 MB / 1.519 GB, free: 6.176 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.428, allocations: 0 / 1.519 GB, free: 6.176 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001001/1.429, allocations: 283.8 kB / 1.519 GB, free: 5.898 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.0005349/1.43, allocations: 221.3 kB / 1.519 GB, free: 5.676 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003579/1.433, allocations: 1.417 MB / 1.521 GB, free: 4.234 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.433, allocations: 4 kB / 1.521 GB, free: 4.23 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/1.435, allocations: 0.86 MB / 1.522 GB, free: 3.34 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/1.437, allocations: 458.8 kB / 1.522 GB, free: 2.895 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/1.44, allocations: 1.744 MB / 1.524 GB, free: 1.117 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/1.441, allocations: 0.9828 MB / 1.525 GB, free: 112 kB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005266/1.441, allocations: 158.6 kB / 1.525 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/1.441, allocations: 71.41 kB / 1.525 GB, free: 15.88 MB / 1.217 GB Notification: Performance of SimCode: time 8.21e-07/1.441, allocations: 0 / 1.525 GB, free: 15.88 MB / 1.217 GB Notification: Performance of Templates: time 0.04049/1.482, allocations: 23.34 MB / 1.548 GB, free: 8.777 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.985234692692757]