Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.0009124/0.0009124, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009647/0.0009647, allocations: 173 kB / 23.03 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.8767/0.8767, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.912/1.912, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.163e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.00171/0.001731, allocations: 1.361 MB / 0.8795 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.002127, allocations: 293.3 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.00216, allocations: 0 / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.00218, allocations: 3.938 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.002349, allocations: 21.67 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.002546, allocations: 69.48 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.002611, allocations: 31.86 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.002646, allocations: 4 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.002761, allocations: 45.83 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.002801, allocations: 9.109 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.002816, allocations: 0 / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.002927, allocations: 68.95 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.002941, allocations: 4 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.002962, allocations: 11.98 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003094, allocations: 80.75 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003096, allocations: 4 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.34e-06/0.003102, allocations: 0 / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.003105, allocations: 0.7188 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002978/0.003403, allocations: 384.3 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.003436, allocations: 9.562 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.003749, allocations: 57.28 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.003835, allocations: 126 kB / 0.8807 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.003847, allocations: 384 / 0.8807 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.003859, allocations: 4.375 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.003983, allocations: 89.22 kB / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.00399, allocations: 3.938 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.004001, allocations: 4.75 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.004008, allocations: 0 / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.004056, allocations: 25.06 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.004186, allocations: 132.6 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.00433, allocations: 68.34 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.004361, allocations: 19.75 kB / 0.881 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.004374, allocations: 0 / 0.881 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.004393, allocations: 40.83 kB / 0.881 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004394, allocations: 3.938 kB / 0.881 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.004574, allocations: 73.61 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.004605, allocations: 55.34 kB / 0.8812 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.004687, allocations: 169.9 kB / 0.8813 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.0047, allocations: 25.7 kB / 0.8813 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.004737, allocations: 126.9 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.004767, allocations: 11.91 kB / 0.8815 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.004803, allocations: 23.36 kB / 0.8815 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.004925, allocations: 497.2 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.004955, allocations: 11.98 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.004978, allocations: 8 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.00504, allocations: 24.84 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.005042, allocations: 0 / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.57e-05/0.005138, allocations: 61.61 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.005154, allocations: 12 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.00516, allocations: 0 / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.005177, allocations: 3.938 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.005266, allocations: 15.98 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.005272, allocations: 0 / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.005312, allocations: 11.98 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.00532, allocations: 4 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.005394, allocations: 152.6 kB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.005409, allocations: 7.953 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.005444, allocations: 8 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.005448, allocations: 7.938 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005452, allocations: 0 / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.005456, allocations: 7.984 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.005548, allocations: 116.6 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005549, allocations: 0 / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.005596, allocations: 11.98 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.005599, allocations: 3.984 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.005609, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005611, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.005614, allocations: 7.875 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.005742, allocations: 100.7 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.005789, allocations: 11.98 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.005804, allocations: 3.984 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.179e-05/0.005846, allocations: 7.984 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.005874, allocations: 11.94 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.005881, allocations: 3.984 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.005925, allocations: 127.6 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.005925, allocations: 0 / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001312/0.006056, allocations: 8 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000106/0.006162, allocations: 107.2 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.006281, allocations: 31.61 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.006284, allocations: 4 kB / 0.8828 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.00631, allocations: 19.69 kB / 0.8829 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.006462, allocations: 12.27 kB / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.006985, allocations: 178.2 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.198e-05/0.007017, allocations: 59.3 kB / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.562e-05/0.007063, allocations: 4 kB / 0.8831 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.0071, allocations: 16.48 kB / 0.8831 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.007101, allocations: 4 kB / 0.8831 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of Templates: time 0.002316/0.009417, allocations: 0.8203 MB / 0.8839 GB, free: 140 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.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: 4.782916190102696]