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.001385/0.001385, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001633/0.001633, allocations: 181 kB / 23.36 MB, free: 1.133 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.9793/0.9793, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.372/2.372, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.643e-06/1.643e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.097e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002415/0.002436, allocations: 1.314 MB / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.002688, allocations: 95.62 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.002714, allocations: 0 / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.00273, allocations: 4 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.002799, allocations: 7.922 kB / 0.84 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.002987, allocations: 31.84 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.952e-05/0.003037, allocations: 11.92 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.003079, allocations: 7.984 kB / 0.84 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.003115, allocations: 8 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.003166, allocations: 3.984 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.003181, allocations: 4 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.003293, allocations: 35.95 kB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.003305, allocations: 7.938 kB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.003318, allocations: 0 / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003424, allocations: 43.88 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003427, allocations: 0 / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003428, allocations: 0 / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.003431, allocations: 0 / 0.8401 GB, free: 12.66 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.0002787/0.003709, allocations: 232.9 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.003745, allocations: 8.625 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.003994, allocations: 28.91 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.004078, allocations: 113.7 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.004091, allocations: 4.375 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.004103, allocations: 8.312 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.004215, allocations: 54.94 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.004223, allocations: 3.938 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.004231, allocations: 0 / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004236, allocations: 3.938 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.004269, allocations: 8 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.696e-05/0.004366, allocations: 61.05 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.004427, allocations: 26.59 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.004447, allocations: 12.86 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.004459, allocations: 4 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.004482, allocations: 38.55 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.004483, allocations: 0 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001162/0.004599, allocations: 41.69 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.00463, allocations: 55.34 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.004685, allocations: 98.72 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.004697, allocations: 25.83 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.00472, allocations: 88.14 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.004743, allocations: 3.953 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.004779, allocations: 17.7 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.004862, allocations: 318.8 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.004878, allocations: 4 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.004897, allocations: 4 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.004932, allocations: 8.859 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004934, allocations: 0 / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.218e-05/0.005006, allocations: 45.69 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.005019, allocations: 9.969 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005023, allocations: 0 / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005034, allocations: 0 / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.005114, allocations: 11.98 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.005118, allocations: 7.875 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.005152, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.005158, allocations: 4 kB / 0.8414 GB, free: 11.18 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 5.621e-05/0.005214, allocations: 105.8 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.005225, allocations: 3.984 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.005247, allocations: 3.312 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005249, allocations: 8 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.005252, allocations: 3.938 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005254, allocations: 0 / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.388e-05/0.005328, allocations: 73.86 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005329, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.005369, allocations: 15.92 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.00537, allocations: 0 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.005376, allocations: 0 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005377, allocations: 0 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.005379, allocations: 3.984 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.402e-05/0.005463, allocations: 77 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.005473, allocations: 7.984 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.005484, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.644e-05/0.005521, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.005538, allocations: 7.984 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.005542, allocations: 0 / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.344e-05/0.005555, allocations: 13.03 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.005555, allocations: 0 / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001791/0.005735, allocations: 7.938 kB / 0.8417 GB, free: 10.8 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 8.866e-05/0.005823, allocations: 80.45 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.005899, allocations: 20.84 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.005901, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.169e-05/0.005923, allocations: 12.8 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.006032, allocations: 9.719 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.006483, allocations: 136.8 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.006512, allocations: 51.36 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.386e-05/0.006565, allocations: 8 kB / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.006635, allocations: 59.36 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.006636, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.002843/0.009478, allocations: 0.8196 MB / 0.8429 GB, free: 9.562 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 -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.173734847921878]