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.0009403/0.0009403, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009242/0.0009242, allocations: 169 kB / 24.06 MB, free: 456 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.8944/0.8944, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.022/2.022, allocations: 429.5 MB / 0.6743 GB, free: 3.879 MB / 0.6355 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.242e-06/1.242e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.365e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1144/0.1145, allocations: 146.9 MB / 1.023 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1169, allocations: 2.445 MB / 1.025 GB, free: 152 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.1172, allocations: 27.81 kB / 1.025 GB, free: 124 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.1176, allocations: 210.5 kB / 1.025 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.1189, allocations: 0.9204 MB / 1.026 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.1197, allocations: 0.6234 MB / 1.027 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1207, allocations: 1.662 MB / 1.029 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007444/0.1215, allocations: 0.9154 MB / 1.029 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.1223, allocations: 1.134 MB / 1.031 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.123, allocations: 0.787 MB / 1.031 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1231, allocations: 100 kB / 1.031 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.1236, allocations: 443.1 kB / 1.032 GB, free: 9.309 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.1238, allocations: 390.9 kB / 1.032 GB, free: 8.926 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.1241, allocations: 403 kB / 1.033 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1253, allocations: 1.164 MB / 1.034 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1253, allocations: 7.938 kB / 1.034 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.1253, allocations: 0 / 1.034 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.1253, allocations: 0 / 1.034 GB, free: 7.355 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.00142/0.1267, allocations: 1.238 MB / 1.035 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1267, allocations: 12.03 kB / 1.035 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.1282, allocations: 0.5032 MB / 1.035 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.1288, allocations: 0.5606 MB / 1.036 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1288, allocations: 33 kB / 1.036 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.1289, allocations: 48 kB / 1.036 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.1298, allocations: 0.9172 MB / 1.037 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1299, allocations: 3.938 kB / 1.037 GB, free: 3.859 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.1299, allocations: 20 kB / 1.037 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.13, allocations: 27.98 kB / 1.037 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.1305, allocations: 482.3 kB / 1.037 GB, free: 3.34 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.003266/0.1338, allocations: 4.341 MB / 1.042 GB, free: 14.87 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.1343, allocations: 359.1 kB / 1.042 GB, free: 14.51 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.1346, allocations: 273 kB / 1.042 GB, free: 14.24 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.1348, allocations: 64.36 kB / 1.042 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1348, allocations: 41.89 kB / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001197/0.136, allocations: 0.6476 MB / 1.043 GB, free: 13.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 1.693e-06/0.136, allocations: 0 / 1.043 GB, free: 13.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.007384/0.1434, allocations: 2.555 MB / 1.046 GB, free: 10.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.1434, allocations: 59.84 kB / 1.046 GB, free: 10.84 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.1438, allocations: 0.6356 MB / 1.046 GB, free: 10.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.1439, allocations: 33.7 kB / 1.046 GB, free: 10.14 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.1443, allocations: 443.3 kB / 1.047 GB, free: 9.703 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.1444, allocations: 198.3 kB / 1.047 GB, free: 9.508 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.1447, allocations: 200 kB / 1.047 GB, free: 9.305 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1448, allocations: 0.5741 MB / 1.048 GB, free: 8.719 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1451, allocations: 197.8 kB / 1.048 GB, free: 8.523 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.1455, allocations: 0.5671 MB / 1.048 GB, free: 7.809 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.1463, allocations: 0.7842 MB / 1.049 GB, free: 6.887 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1463, allocations: 4 kB / 1.049 GB, free: 6.883 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004867/0.1512, allocations: 1.9 MB / 1.051 GB, free: 4.961 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1512, allocations: 8 kB / 1.051 GB, free: 4.953 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1512, allocations: 8 kB / 1.051 GB, free: 4.945 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005626/0.1568, allocations: 2.106 MB / 1.053 GB, free: 2.828 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.1573, allocations: 175.7 kB / 1.053 GB, free: 2.656 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3593/0.5165, allocations: 5.497 MB / 1.059 GB, free: 68.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.5172, allocations: 53.55 kB / 1.059 GB, free: 68.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.5173, allocations: 61.05 kB / 1.059 GB, free: 68.51 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.0002385/0.5175, allocations: 198.8 kB / 1.059 GB, free: 68.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.5177, allocations: 98.06 kB / 1.059 GB, free: 68.35 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.5199, allocations: 1.331 MB / 1.06 GB, free: 68.28 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5199, allocations: 9.312 kB / 1.06 GB, free: 68.28 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5199, allocations: 6.031 kB / 1.06 GB, free: 68.28 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.52, allocations: 3.328 kB / 1.06 GB, free: 68.28 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.5227, allocations: 1.864 MB / 1.062 GB, free: 67.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5227, allocations: 10.42 kB / 1.062 GB, free: 67.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.523, allocations: 117.7 kB / 1.062 GB, free: 67.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002426/0.5254, allocations: 1.341 MB / 1.064 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.5255, allocations: 19.75 kB / 1.064 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.528, allocations: 4.351 MB / 1.068 GB, free: 64.49 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.528, allocations: 3.281 kB / 1.068 GB, free: 64.49 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.5303, allocations: 1.515 MB / 1.069 GB, free: 64.15 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.5305, allocations: 154.4 kB / 1.069 GB, free: 64.11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.5306, allocations: 12.91 kB / 1.069 GB, free: 64.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.531, allocations: 50.88 kB / 1.07 GB, free: 64.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5311, allocations: 43.38 kB / 1.07 GB, free: 64.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.5311, allocations: 26.33 kB / 1.07 GB, free: 64.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001802/0.5313, allocations: 386.8 kB / 1.07 GB, free: 63.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5313, allocations: 0 / 1.07 GB, free: 63.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006375/0.5319, allocations: 315.9 kB / 1.07 GB, free: 63.95 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.0001861/0.5321, allocations: 142.9 kB / 1.07 GB, free: 63.87 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.5337, allocations: 1.269 MB / 1.072 GB, free: 63.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5337, allocations: 2.875 kB / 1.072 GB, free: 63.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.5345, allocations: 0.8419 MB / 1.072 GB, free: 63.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.5354, allocations: 379.3 kB / 1.073 GB, free: 63.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.5371, allocations: 1.517 MB / 1.074 GB, free: 62.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.5372, allocations: 190.6 kB / 1.075 GB, free: 62.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003959/0.5376, allocations: 134.9 kB / 1.075 GB, free: 62.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.5382, allocations: 351 kB / 1.075 GB, free: 62.23 MB / 1.01 GB Notification: Performance of SimCode: time 7.61e-07/0.5382, allocations: 3.75 kB / 1.075 GB, free: 62.23 MB / 1.01 GB Notification: Performance of Templates: time 0.02709/0.5653, allocations: 24.99 MB / 1.099 GB, free: 59.84 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.094082923140377]