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.001039/0.001039, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.000926/0.000926, allocations: 173 kB / 23.02 MB, free: 1.547 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.848/0.848, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 1.949/1.949, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 178] 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.482e-06/1.482e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.781e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1287/0.1287, allocations: 149.7 MB / 1.024 GB, free: 176 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1316, allocations: 2.462 MB / 1.027 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.1319, allocations: 23.81 kB / 1.027 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.1324, allocations: 210.4 kB / 1.027 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1335, allocations: 0.9166 MB / 1.028 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008571/0.1344, allocations: 0.6273 MB / 1.028 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.1356, allocations: 1.658 MB / 1.03 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.1366, allocations: 0.9116 MB / 1.031 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009478/0.1376, allocations: 1.134 MB / 1.032 GB, free: 8.195 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.1382, allocations: 0.7949 MB / 1.033 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.1383, allocations: 100 kB / 1.033 GB, free: 7.301 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.1388, allocations: 443.1 kB / 1.033 GB, free: 6.867 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.1391, allocations: 382.9 kB / 1.034 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.1393, allocations: 411 kB / 1.034 GB, free: 6.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000867/0.1402, allocations: 1.164 MB / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1402, allocations: 0 / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1402, allocations: 0 / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1402, allocations: 0 / 1.035 GB, free: 4.922 MB / 0.9948 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.001398/0.1416, allocations: 1.238 MB / 1.036 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1417, allocations: 8.031 kB / 1.036 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.1431, allocations: 0.4954 MB / 1.037 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.144, allocations: 0.5801 MB / 1.038 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.144, allocations: 40.94 kB / 1.038 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/0.1441, allocations: 55.98 kB / 1.038 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1451, allocations: 0.9681 MB / 1.039 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1451, allocations: 7.938 kB / 1.039 GB, free: 1.352 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.1452, allocations: 20 kB / 1.039 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.1452, allocations: 23.98 kB / 1.039 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.146, allocations: 0.5911 MB / 1.039 GB, free: 0.7188 MB / 0.9948 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.003072/0.1491, allocations: 4.454 MB / 1.044 GB, free: 12.13 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.1497, allocations: 423.3 kB / 1.044 GB, free: 11.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.1501, allocations: 323.9 kB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.1506, allocations: 64.42 kB / 1.044 GB, free: 11.32 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1506, allocations: 41.89 kB / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00114/0.1517, allocations: 0.6476 MB / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.1517, allocations: 0 / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.007621/0.1594, allocations: 2.703 MB / 1.048 GB, free: 7.906 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1594, allocations: 59.91 kB / 1.048 GB, free: 7.836 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.1598, allocations: 0.6438 MB / 1.048 GB, free: 7.176 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.1599, allocations: 37.64 kB / 1.048 GB, free: 7.133 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1601, allocations: 431.4 kB / 1.049 GB, free: 6.703 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1602, allocations: 194.3 kB / 1.049 GB, free: 6.512 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.1604, allocations: 196.1 kB / 1.049 GB, free: 6.312 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1606, allocations: 0.5664 MB / 1.05 GB, free: 5.734 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.1609, allocations: 249.8 kB / 1.05 GB, free: 5.488 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.1614, allocations: 0.6212 MB / 1.051 GB, free: 4.715 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.1626, allocations: 0.8741 MB / 1.051 GB, free: 3.703 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1626, allocations: 0 / 1.051 GB, free: 3.703 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004901/0.1675, allocations: 2.009 MB / 1.053 GB, free: 1.672 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1675, allocations: 8 kB / 1.053 GB, free: 1.664 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1675, allocations: 8 kB / 1.053 GB, free: 1.656 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3649/0.5324, allocations: 2.119 MB / 1.055 GB, free: 68.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.5329, allocations: 166.8 kB / 1.056 GB, free: 68.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.5383, allocations: 5.645 MB / 1.061 GB, free: 65.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.5388, allocations: 55.69 kB / 1.061 GB, free: 65.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.5389, allocations: 61.53 kB / 1.061 GB, free: 65.5 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.0002308/0.5391, allocations: 204.2 kB / 1.061 GB, free: 65.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.5393, allocations: 95.84 kB / 1.061 GB, free: 65.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.5417, allocations: 1.434 MB / 1.063 GB, free: 65.26 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5417, allocations: 6.406 kB / 1.063 GB, free: 65.26 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5417, allocations: 2.688 kB / 1.063 GB, free: 65.26 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5417, allocations: 3.422 kB / 1.063 GB, free: 65.26 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.5446, allocations: 2.075 MB / 1.065 GB, free: 64.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5446, allocations: 4 kB / 1.065 GB, free: 64.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.5449, allocations: 118.1 kB / 1.065 GB, free: 64.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00241/0.5473, allocations: 1.343 MB / 1.066 GB, free: 64.83 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.5474, allocations: 22.14 kB / 1.066 GB, free: 64.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.5501, allocations: 4.448 MB / 1.071 GB, free: 61.37 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5501, allocations: 0 / 1.071 GB, free: 61.37 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.5526, allocations: 1.669 MB / 1.072 GB, free: 61.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.5528, allocations: 157.2 kB / 1.072 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.5528, allocations: 17.86 kB / 1.073 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.5532, allocations: 48.69 kB / 1.073 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.5533, allocations: 50.92 kB / 1.073 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.5534, allocations: 25.62 kB / 1.073 GB, free: 60.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000233/0.5536, allocations: 408.9 kB / 1.073 GB, free: 60.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5536, allocations: 0.9844 kB / 1.073 GB, free: 60.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005848/0.5542, allocations: 319.6 kB / 1.073 GB, free: 60.83 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.0002077/0.5544, allocations: 144.9 kB / 1.073 GB, free: 60.74 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.5561, allocations: 1.36 MB / 1.075 GB, free: 60.33 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5561, allocations: 0.9688 kB / 1.075 GB, free: 60.33 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/0.5569, allocations: 0.8875 MB / 1.076 GB, free: 59.95 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.558, allocations: 378.4 kB / 1.076 GB, free: 59.92 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.5599, allocations: 1.549 MB / 1.078 GB, free: 59.25 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.56, allocations: 195.9 kB / 1.078 GB, free: 59.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003548/0.5603, allocations: 157 kB / 1.078 GB, free: 59.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.5605, allocations: 73.23 kB / 1.078 GB, free: 59.15 MB / 1.01 GB Notification: Performance of SimCode: time 1.002e-06/0.5605, allocations: 4.703 kB / 1.078 GB, free: 59.15 MB / 1.01 GB Notification: Performance of Templates: time 0.02487/0.5854, allocations: 24.2 MB / 1.102 GB, free: 56.68 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: 5.836813980247825]