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.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.0009102/0.0009102, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009206/0.0009206, allocations: 173.7 kB / 23.28 MB, free: 1.215 MB / 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.904/0.904, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.316/2.316, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.563e-06/1.563e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.395e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.127/0.127, allocations: 146.9 MB / 1.033 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.1296, allocations: 2.439 MB / 1.036 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.1299, allocations: 23.81 kB / 1.036 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.1304, allocations: 226.3 kB / 1.036 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.1315, allocations: 0.9128 MB / 1.037 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.1323, allocations: 0.6312 MB / 1.037 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.1334, allocations: 1.654 MB / 1.039 GB, free: 444 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007298/0.1341, allocations: 0.9076 MB / 1.04 GB, free: 15.51 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008754/0.135, allocations: 1.138 MB / 1.041 GB, free: 14.37 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.1356, allocations: 0.7949 MB / 1.042 GB, free: 13.57 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1357, allocations: 100 kB / 1.042 GB, free: 13.47 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.1362, allocations: 439.1 kB / 1.042 GB, free: 13.04 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.1365, allocations: 386.9 kB / 1.043 GB, free: 12.66 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.1367, allocations: 399.1 kB / 1.043 GB, free: 12.27 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.1376, allocations: 1.168 MB / 1.044 GB, free: 11.1 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1376, allocations: 4 kB / 1.044 GB, free: 11.1 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1376, allocations: 4 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.1376, allocations: 0 / 1.044 GB, free: 11.09 MB / 1.01 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.001397/0.139, allocations: 1.238 MB / 1.045 GB, free: 9.812 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1391, allocations: 8.031 kB / 1.045 GB, free: 9.805 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.1405, allocations: 0.4993 MB / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.1411, allocations: 0.5645 MB / 1.046 GB, free: 8.711 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.1411, allocations: 37 kB / 1.046 GB, free: 8.676 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.1412, allocations: 48 kB / 1.046 GB, free: 8.629 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/0.1421, allocations: 0.9093 MB / 1.047 GB, free: 7.609 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1421, allocations: 4 kB / 1.047 GB, free: 7.605 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.1422, allocations: 27.98 kB / 1.047 GB, free: 7.578 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.1422, allocations: 19.98 kB / 1.047 GB, free: 7.559 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.1427, allocations: 490.2 kB / 1.048 GB, free: 7.078 MB / 1.01 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.002996/0.1457, allocations: 4.349 MB / 1.052 GB, free: 2.598 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.1462, allocations: 356.9 kB / 1.052 GB, free: 2.238 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.1465, allocations: 261 kB / 1.053 GB, free: 1.977 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.1467, allocations: 76.36 kB / 1.053 GB, free: 1.902 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1467, allocations: 41.89 kB / 1.053 GB, free: 1.852 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/0.1478, allocations: 0.6437 MB / 1.053 GB, free: 1.207 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 1.814e-06/0.1478, allocations: 0 / 1.053 GB, free: 1.207 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.4003/0.5481, allocations: 2.563 MB / 1.056 GB, free: 70.72 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.5481, allocations: 64.72 kB / 1.056 GB, free: 70.66 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.5485, allocations: 0.6284 MB / 1.057 GB, free: 70.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.5485, allocations: 35.45 kB / 1.057 GB, free: 70.44 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.5487, allocations: 451.6 kB / 1.057 GB, free: 70.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5488, allocations: 195.6 kB / 1.057 GB, free: 70.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.549, allocations: 197.7 kB / 1.057 GB, free: 70.16 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.549, allocations: 0.5635 MB / 1.058 GB, free: 69.67 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.5493, allocations: 201.5 kB / 1.058 GB, free: 69.67 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.5496, allocations: 0.5734 MB / 1.059 GB, free: 69.21 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.5501, allocations: 0.7886 MB / 1.06 GB, free: 68.82 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5502, allocations: 3.812 kB / 1.06 GB, free: 68.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00424/0.5544, allocations: 1.895 MB / 1.061 GB, free: 68.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5544, allocations: 6.562 kB / 1.061 GB, free: 68.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5544, allocations: 8.719 kB / 1.061 GB, free: 68.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004975/0.5594, allocations: 2.108 MB / 1.063 GB, free: 68.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.5598, allocations: 172.8 kB / 1.064 GB, free: 68.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00457/0.5643, allocations: 5.506 MB / 1.069 GB, free: 65.17 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.5648, allocations: 55.7 kB / 1.069 GB, free: 65.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.5649, allocations: 56.05 kB / 1.069 GB, free: 65.17 MB / 1.01 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.0001731/0.565, allocations: 199.3 kB / 1.069 GB, free: 65.01 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.5652, allocations: 101.5 kB / 1.069 GB, free: 64.96 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.5672, allocations: 1.332 MB / 1.071 GB, free: 64.87 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5672, allocations: 8.312 kB / 1.071 GB, free: 64.87 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5673, allocations: 2.938 kB / 1.071 GB, free: 64.87 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5673, allocations: 3.234 kB / 1.071 GB, free: 64.87 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.5697, allocations: 1.864 MB / 1.073 GB, free: 64.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5697, allocations: 3 kB / 1.073 GB, free: 64.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.57, allocations: 122.6 kB / 1.073 GB, free: 64.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.5722, allocations: 1.343 MB / 1.074 GB, free: 64.43 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.5722, allocations: 19.42 kB / 1.074 GB, free: 64.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.5745, allocations: 4.359 MB / 1.078 GB, free: 60.97 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5745, allocations: 2.344 kB / 1.078 GB, free: 60.97 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.5766, allocations: 1.514 MB / 1.08 GB, free: 60.59 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.5768, allocations: 152.9 kB / 1.08 GB, free: 60.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.5769, allocations: 15.78 kB / 1.08 GB, free: 60.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.5772, allocations: 41.23 kB / 1.08 GB, free: 60.54 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.5773, allocations: 53.62 kB / 1.08 GB, free: 60.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.5773, allocations: 17.09 kB / 1.08 GB, free: 60.54 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001702/0.5775, allocations: 389.8 kB / 1.08 GB, free: 60.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5775, allocations: 0 / 1.08 GB, free: 60.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006231/0.5781, allocations: 317.5 kB / 1.081 GB, free: 60.39 MB / 1.01 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 (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%), (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.0002004/0.5783, allocations: 149 kB / 1.081 GB, free: 60.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.5798, allocations: 1.267 MB / 1.082 GB, free: 59.88 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5798, allocations: 1.75 kB / 1.082 GB, free: 59.88 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.5805, allocations: 0.844 MB / 1.083 GB, free: 59.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.5814, allocations: 378.9 kB / 1.083 GB, free: 59.45 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.583, allocations: 1.517 MB / 1.085 GB, free: 58.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.5831, allocations: 198.1 kB / 1.085 GB, free: 58.63 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.5834, allocations: 133.3 kB / 1.085 GB, free: 58.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/0.584, allocations: 346 kB / 1.085 GB, free: 58.52 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.584, allocations: 0 / 1.085 GB, free: 58.52 MB / 1.01 GB Notification: Performance of Templates: time 0.02763/0.6116, allocations: 24.44 MB / 1.109 GB, free: 56.14 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.192155071999878]