Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.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.001619/0.001619, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.002099/0.002099, allocations: 173 kB / 23.36 MB, free: 1.129 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.9777/0.9777, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.395/2.395, allocations: 438.8 MB / 0.6827 GB, free: 13.66 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.545e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003216/0.003242, allocations: 1.36 MB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.003566, allocations: 95.61 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.003597, allocations: 0 / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.003616, allocations: 4 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.003701, allocations: 7.938 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.003902, allocations: 27.88 kB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.079e-05/0.003963, allocations: 11.94 kB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.004006, allocations: 0 / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.00405, allocations: 11.98 kB / 0.8401 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.004107, allocations: 7.938 kB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.004121, allocations: 0 / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.004287, allocations: 43.95 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.0043, allocations: 3.938 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.004319, allocations: 7.984 kB / 0.8402 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.004441, allocations: 39.88 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004444, allocations: 7.938 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004445, allocations: 0 / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.004448, allocations: 0 / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002798/0.004728, allocations: 224.9 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.004766, allocations: 12.62 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.00503, allocations: 28.89 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.005128, allocations: 117.7 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.005146, allocations: 384 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.005155, allocations: 384 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.005275, allocations: 62.92 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.005284, allocations: 3.938 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.005294, allocations: 4 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005298, allocations: 0 / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.005335, allocations: 7.938 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.005445, allocations: 61.05 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/0.005506, allocations: 26.61 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.00553, allocations: 8.922 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.005541, allocations: 0 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.005567, allocations: 34.55 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.005568, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.005689, allocations: 45.64 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.005723, allocations: 59.34 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.005786, allocations: 106.7 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005797, allocations: 25.7 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.005826, allocations: 88.25 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.00585, allocations: 3.953 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.005886, allocations: 13.72 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.005979, allocations: 310.8 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.005999, allocations: 4 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.006017, allocations: 7.984 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.006062, allocations: 12.86 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.006063, allocations: 0 / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.824e-05/0.006142, allocations: 41.62 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.006152, allocations: 8.094 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006156, allocations: 3.984 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.006163, allocations: 7.938 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.006247, allocations: 4 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.006252, allocations: 3.938 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.0063, allocations: 11.98 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.006307, allocations: 0 / 0.8415 GB, free: 11.1 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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 6.325e-05/0.00637, allocations: 105.8 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.006384, allocations: 4 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.00641, allocations: 3.312 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006412, allocations: 4 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.006415, allocations: 3.938 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.006418, allocations: 0 / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.068e-05/0.006498, allocations: 73.88 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.006499, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.006552, allocations: 4 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006554, allocations: 3.938 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.006563, allocations: 3.984 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.006565, allocations: 4 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.006566, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.006659, allocations: 73.08 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.006672, allocations: 11.94 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.006684, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.006726, allocations: 4 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.006743, allocations: 0 / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.006748, allocations: 0 / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.466e-05/0.006763, allocations: 12.84 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006763, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001842/0.006947, allocations: 11.94 kB / 0.8418 GB, free: 10.73 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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 9.484e-05/0.007042, allocations: 76.45 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.00712, allocations: 16.8 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.007127, allocations: 8 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.00715, allocations: 8.859 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.007271, allocations: 7.984 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.007792, allocations: 136.7 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.007829, allocations: 55.36 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.548e-05/0.007895, allocations: 11.88 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.007977, allocations: 59.36 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.007978, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of Templates: time 0.003545/0.01152, allocations: 0.8262 MB / 0.843 GB, free: 9.48 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_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.215730661991984]