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.0009568/0.0009568, allocations: 93.06 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.0009303/0.0009303, allocations: 165.3 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.8981/0.8981, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.029/2.029, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.142e-06/1.142e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.372e-05, allocations: 3.297 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1178/0.1178, allocations: 149.7 MB / 1.024 GB, free: 164 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003127/0.121, allocations: 2.454 MB / 1.027 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.1213, allocations: 27.75 kB / 1.027 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.1218, allocations: 214.3 kB / 1.027 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.123, allocations: 0.9166 MB / 1.028 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009011/0.1239, allocations: 0.6157 MB / 1.028 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.1253, allocations: 1.67 MB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000978/0.1262, allocations: 0.9077 MB / 1.031 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008968/0.1271, allocations: 1.002 MB / 1.032 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.1278, allocations: 0.8065 MB / 1.033 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.128, allocations: 104 kB / 1.033 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.1286, allocations: 474.9 kB / 1.033 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1288, allocations: 398.9 kB / 1.034 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.1291, allocations: 407.1 kB / 1.034 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009632/0.1301, allocations: 1.18 MB / 1.035 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1301, allocations: 7.938 kB / 1.035 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1301, allocations: 4 kB / 1.035 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.1301, allocations: 0 / 1.035 GB, free: 4.961 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.00151/0.1316, allocations: 1.246 MB / 1.036 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1316, allocations: 8.031 kB / 1.036 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.1333, allocations: 0.5344 MB / 1.037 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.1341, allocations: 0.5723 MB / 1.037 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.1341, allocations: 37 kB / 1.038 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.39e-05/0.1342, allocations: 48 kB / 1.038 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.1353, allocations: 0.9681 MB / 1.039 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1353, allocations: 3.938 kB / 1.039 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.1354, allocations: 27.98 kB / 1.039 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.1354, allocations: 27.98 kB / 1.039 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008499/0.1362, allocations: 0.5833 MB / 1.039 GB, free: 0.7305 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.003313/0.1396, allocations: 4.49 MB / 1.044 GB, free: 12.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.1402, allocations: 418 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.1408, allocations: 317 kB / 1.044 GB, free: 11.37 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.141, allocations: 64.42 kB / 1.044 GB, free: 11.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.141, allocations: 49.81 kB / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001179/0.1422, allocations: 0.6283 MB / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.1422, allocations: 0 / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.007763/0.15, allocations: 2.703 MB / 1.048 GB, free: 7.898 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.15, allocations: 59.91 kB / 1.048 GB, free: 7.828 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.1504, allocations: 0.566 MB / 1.048 GB, free: 7.246 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.1505, allocations: 29.7 kB / 1.048 GB, free: 7.211 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1506, allocations: 387.8 kB / 1.049 GB, free: 6.824 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.1508, allocations: 182.4 kB / 1.049 GB, free: 6.645 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.151, allocations: 159.6 kB / 1.049 GB, free: 6.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1511, allocations: 0.5586 MB / 1.049 GB, free: 5.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.1515, allocations: 232.8 kB / 1.05 GB, free: 5.684 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.1519, allocations: 405.8 kB / 1.05 GB, free: 5.234 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.1527, allocations: 0.6083 MB / 1.051 GB, free: 4.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1527, allocations: 4 kB / 1.051 GB, free: 4.586 MB / 1.01 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005078/0.1578, allocations: 1.838 MB / 1.052 GB, free: 2.734 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1578, allocations: 4 kB / 1.052 GB, free: 2.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1578, allocations: 4 kB / 1.052 GB, free: 2.727 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/0.1635, allocations: 2.114 MB / 1.055 GB, free: 0.6016 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.1639, allocations: 127.8 kB / 1.055 GB, free: 488 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3766/0.5405, allocations: 5.624 MB / 1.06 GB, free: 74.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.5412, allocations: 45.91 kB / 1.06 GB, free: 74.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/0.5412, allocations: 48.94 kB / 1.06 GB, free: 74.02 MB / 1.01 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.0002581/0.5415, allocations: 188 kB / 1.06 GB, free: 73.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.5417, allocations: 91.36 kB / 1.061 GB, free: 73.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.5441, allocations: 1.429 MB / 1.062 GB, free: 73.78 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5442, allocations: 6.656 kB / 1.062 GB, free: 73.78 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5442, allocations: 9.094 kB / 1.062 GB, free: 73.78 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5442, allocations: 3.188 kB / 1.062 GB, free: 73.78 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.5472, allocations: 2.08 MB / 1.064 GB, free: 73.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5472, allocations: 0 / 1.064 GB, free: 73.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.5476, allocations: 119.8 kB / 1.064 GB, free: 73.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/0.5501, allocations: 1.352 MB / 1.065 GB, free: 73.35 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.5501, allocations: 24.17 kB / 1.065 GB, free: 73.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.553, allocations: 4.431 MB / 1.07 GB, free: 69.89 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.553, allocations: 4.125 kB / 1.07 GB, free: 69.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.5556, allocations: 1.665 MB / 1.071 GB, free: 69.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.5558, allocations: 151.6 kB / 1.072 GB, free: 69.51 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.5559, allocations: 17.14 kB / 1.072 GB, free: 69.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.5562, allocations: 48.55 kB / 1.072 GB, free: 69.51 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.5564, allocations: 57.19 kB / 1.072 GB, free: 69.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.5564, allocations: 23.89 kB / 1.072 GB, free: 69.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002362/0.5566, allocations: 383.5 kB / 1.072 GB, free: 69.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5566, allocations: 0 / 1.072 GB, free: 69.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006336/0.5573, allocations: 311.5 kB / 1.072 GB, free: 69.35 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.0002237/0.5575, allocations: 145.8 kB / 1.072 GB, free: 69.26 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.5593, allocations: 1.289 MB / 1.074 GB, free: 68.85 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5593, allocations: 3.312 kB / 1.074 GB, free: 68.85 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.5602, allocations: 0.8944 MB / 1.075 GB, free: 68.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.5611, allocations: 371.9 kB / 1.075 GB, free: 68.44 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.563, allocations: 1.538 MB / 1.076 GB, free: 67.79 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.5632, allocations: 193 kB / 1.077 GB, free: 67.71 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003574/0.5635, allocations: 133.9 kB / 1.077 GB, free: 67.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.5637, allocations: 65.45 kB / 1.077 GB, free: 67.69 MB / 1.01 GB Notification: Performance of SimCode: time 5.21e-07/0.5637, allocations: 1.125 kB / 1.077 GB, free: 67.69 MB / 1.01 GB Notification: Performance of Templates: time 0.02601/0.5897, allocations: 23 MB / 1.099 GB, free: 65.47 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.20366624603048]