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.0009777/0.0009777, 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.0009584/0.0009584, allocations: 165 kB / 23.02 MB, free: 1.551 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.9202/0.9202, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.023/2.023, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.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.763e-06/1.763e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.8e-05, allocations: 5.75 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002523/0.002551, allocations: 1.32 MB / 0.8795 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.002852, allocations: 95.28 kB / 0.8795 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.002883, allocations: 1.094 kB / 0.8795 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.00291, allocations: 5.141 kB / 0.8796 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.002987, allocations: 5.031 kB / 0.8796 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.003252, allocations: 28.98 kB / 0.8796 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.003324, allocations: 16.58 kB / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.003371, allocations: 0 / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.003414, allocations: 12.75 kB / 0.8796 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.00347, allocations: 11.92 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.003484, allocations: 1.281 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.003615, allocations: 35.95 kB / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.003631, allocations: 0 / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.003652, allocations: 5.031 kB / 0.8797 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.00379, allocations: 47.81 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.003795, allocations: 3.984 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003795, allocations: 1.125 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.003801, allocations: 0 / 0.8797 GB, free: 4.73 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003935/0.004194, allocations: 353.6 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.004242, allocations: 16.02 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.004568, allocations: 22.03 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.004685, allocations: 116.5 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.0047, allocations: 384 / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.004715, allocations: 1.156 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.004861, allocations: 57.97 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.004874, allocations: 7.875 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.004888, allocations: 4 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.004895, allocations: 4 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.004949, allocations: 7.984 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.005114, allocations: 120.7 kB / 0.8804 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.005197, allocations: 31.06 kB / 0.8804 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.005234, allocations: 25.23 kB / 0.8804 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.005252, allocations: 0 / 0.8804 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.005277, allocations: 33.39 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.005278, allocations: 0 / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002004/0.005478, allocations: 62.14 kB / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.00551, allocations: 53.06 kB / 0.8806 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.005599, allocations: 157.9 kB / 0.8807 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.005615, allocations: 29.7 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.005658, allocations: 130.9 kB / 0.8809 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.005687, allocations: 3.953 kB / 0.8809 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.00573, allocations: 24.98 kB / 0.8809 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.005865, allocations: 492.1 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.005897, allocations: 8 kB / 0.8814 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.005921, allocations: 7.938 kB / 0.8814 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.005984, allocations: 24.56 kB / 0.8814 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005987, allocations: 0.5938 kB / 0.8814 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.00609, allocations: 43.28 kB / 0.8815 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.006105, allocations: 4 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006111, allocations: 0 / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.00613, allocations: 7.938 kB / 0.8815 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.006242, allocations: 8.203 kB / 0.8815 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006248, allocations: 4 kB / 0.8815 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.006295, allocations: 4 kB / 0.8815 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.006303, allocations: 0 / 0.8815 GB, free: 2.711 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 (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 8.288e-05/0.006386, allocations: 156.6 kB / 0.8816 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.0064, allocations: 4 kB / 0.8816 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.006438, allocations: 7.297 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.006441, allocations: 3.938 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.006449, allocations: 4 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006452, allocations: 3.938 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.494e-05/0.006547, allocations: 112.6 kB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.006549, allocations: 8 kB / 0.8818 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.006611, allocations: 7.984 kB / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006613, allocations: 0 / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.006622, allocations: 0 / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.006624, allocations: 0 / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.006628, allocations: 3.938 kB / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.006756, allocations: 84.39 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-06/0.006766, allocations: 0 / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.006779, allocations: 0 / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/0.006823, allocations: 4.031 kB / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.006847, allocations: 11.92 kB / 0.8819 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.006854, allocations: 4 kB / 0.8819 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.006896, allocations: 123.2 kB / 0.882 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006896, allocations: 0 / 0.882 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002254/0.007121, allocations: 11.94 kB / 0.882 GB, free: 2.102 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 (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.985e-05/0.007211, allocations: 91.25 kB / 0.8821 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.00733, allocations: 27.67 kB / 0.8821 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007332, allocations: 3.938 kB / 0.8821 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.007362, allocations: 19.75 kB / 0.8822 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.007591, allocations: 7.984 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.00824, allocations: 134.5 kB / 0.8823 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.008281, allocations: 59.34 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.002e-05/0.008341, allocations: 4 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.008387, allocations: 12.5 kB / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.008388, allocations: 0 / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of Templates: time 0.00298/0.01137, allocations: 0.769 MB / 0.8831 GB, free: 0.9375 MB / 0.8386 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.211775205098093]