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.001302/0.001302, allocations: 84.8 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001337/0.001337, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 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 0.9408/0.9408, allocations: 177.1 MB / 204.6 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: 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_12_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_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.824e-05, allocations: 8.547 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1506/0.1506, allocations: 149 MB / 0.9055 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1535, allocations: 2.359 MB / 0.9078 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.1538, allocations: 31.75 kB / 0.9079 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.1544, allocations: 218.3 kB / 0.9081 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.1555, allocations: 0.8349 MB / 0.9089 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009496/0.1565, allocations: 0.6469 MB / 0.9095 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1577, allocations: 1.619 MB / 0.9111 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007908/0.1585, allocations: 0.8828 MB / 0.912 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000971/0.1594, allocations: 1.103 MB / 0.913 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007335/0.1602, allocations: 0.7442 MB / 0.9138 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1603, allocations: 92 kB / 0.9139 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.1608, allocations: 419.1 kB / 0.9143 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.1611, allocations: 374.9 kB / 0.9146 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1614, allocations: 395.1 kB / 0.915 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.1623, allocations: 1.11 MB / 0.9161 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1623, allocations: 0 / 0.9161 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1623, allocations: 0 / 0.9161 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.1624, allocations: 0 / 0.9161 GB, free: 6.418 MB / 0.8698 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.001366/0.1637, allocations: 1.074 MB / 0.9171 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1638, allocations: 8.031 kB / 0.9171 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.1646, allocations: 276.2 kB / 0.9174 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.1651, allocations: 468.8 kB / 0.9178 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1651, allocations: 37 kB / 0.9179 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.1652, allocations: 52 kB / 0.9179 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.1659, allocations: 0.7527 MB / 0.9187 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1659, allocations: 4 kB / 0.9187 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.166, allocations: 24 kB / 0.9187 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.166, allocations: 23.98 kB / 0.9187 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.1664, allocations: 345.3 kB / 0.919 GB, free: 3.238 MB / 0.8698 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.002365/0.1687, allocations: 2.858 MB / 0.9218 GB, free: 296 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.169, allocations: 289.1 kB / 0.9221 GB, free: 0 / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.1692, allocations: 197.1 kB / 0.9223 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.1695, allocations: 112.4 kB / 0.9224 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1696, allocations: 43.06 kB / 0.9224 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00113/0.1707, allocations: 0.663 MB / 0.9231 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=50): time 1.623e-06/0.1707, allocations: 0 / 0.9231 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=50): time 0.006298/0.177, allocations: 2.245 MB / 0.9253 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.177, allocations: 55.91 kB / 0.9253 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1774, allocations: 0.5506 MB / 0.9259 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.1774, allocations: 37.7 kB / 0.9259 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1776, allocations: 305.8 kB / 0.9262 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1777, allocations: 186.4 kB / 0.9264 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.1778, allocations: 166.4 kB / 0.9265 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1779, allocations: 386.6 kB / 0.9269 GB, free: 11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1781, allocations: 144.7 kB / 0.927 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1784, allocations: 426.8 kB / 0.9275 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.1789, allocations: 0.6165 MB / 0.9281 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1789, allocations: 0 / 0.9281 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004051/0.183, allocations: 1.617 MB / 0.9296 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.183, allocations: 8 kB / 0.9296 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.183, allocations: 11.98 kB / 0.9297 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005361/0.1884, allocations: 2.096 MB / 0.9317 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.1886, allocations: 139.8 kB / 0.9318 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/0.1934, allocations: 4.096 MB / 0.9358 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.1937, allocations: 24 kB / 0.9359 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.1938, allocations: 47.92 kB / 0.9359 GB, free: 1.363 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (70): * Single equations (assignments): 68 * 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.0001784/0.194, allocations: 156.4 kB / 0.936 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.1941, allocations: 67.86 kB / 0.9361 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.1961, allocations: 1.169 MB / 0.9373 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1962, allocations: 4 kB / 0.9373 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1962, allocations: 4 kB / 0.9373 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1962, allocations: 7.922 kB / 0.9373 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.1987, allocations: 1.56 MB / 0.9388 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1987, allocations: 8.188 kB / 0.9388 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.1989, allocations: 87.89 kB / 0.9389 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.2013, allocations: 1.39 MB / 0.9402 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.2013, allocations: 12 kB / 0.9403 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.2041, allocations: 3.242 MB / 0.9434 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2041, allocations: 7.938 kB / 0.9434 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.2062, allocations: 1.304 MB / 0.9447 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2063, allocations: 111.4 kB / 0.9448 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.2064, allocations: 15.94 kB / 0.9448 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2066, allocations: 19.98 kB / 0.9448 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.2067, allocations: 52.34 kB / 0.9449 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2068, allocations: 12 kB / 0.9449 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2069, allocations: 256.5 kB / 0.9451 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.2069, allocations: 0 / 0.9451 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006968/0.2076, allocations: 307.7 kB / 0.9454 GB, free: 7.254 MB / 0.9011 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.0002799/0.2079, allocations: 140.2 kB / 0.9456 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.2094, allocations: 1.025 MB / 0.9466 GB, free: 6.059 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.2095, allocations: 12 kB / 0.9466 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.2102, allocations: 0.6783 MB / 0.9472 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.211, allocations: 353 kB / 0.9476 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.2128, allocations: 1.422 MB / 0.949 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.213, allocations: 192.8 kB / 0.9492 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003079/0.2133, allocations: 118.2 kB / 0.9493 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.2137, allocations: 273.1 kB / 0.9495 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of SimCode: time 9.91e-07/0.2137, allocations: 4 kB / 0.9495 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of Templates: time 0.0222/0.2359, allocations: 22.01 MB / 0.971 GB, free: 13.28 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.744097443763167]