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.00093/0.00093, allocations: 92.22 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.0009087/0.0009087, allocations: 173 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.8763/0.8763, 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.974/1.974, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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.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.352e-06/1.352e-06, allocations: 0 / 0.8782 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.388e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001639/0.001663, allocations: 1.323 MB / 0.8795 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.001889, allocations: 93.95 kB / 0.8795 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.001913, allocations: 1.328 kB / 0.8795 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.001932, allocations: 4.766 kB / 0.8796 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.002004, allocations: 1.422 kB / 0.8796 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.002192, allocations: 36.25 kB / 0.8796 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.002242, allocations: 12.69 kB / 0.8796 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.002277, allocations: 9.125 kB / 0.8796 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.00231, allocations: 4 kB / 0.8796 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.002353, allocations: 3.984 kB / 0.8796 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002365, allocations: 1.094 kB / 0.8796 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.00246, allocations: 39.95 kB / 0.8797 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.002474, allocations: 4 kB / 0.8797 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.00249, allocations: 0.6562 kB / 0.8797 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002591, allocations: 48.5 kB / 0.8797 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.002594, allocations: 3.984 kB / 0.8797 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002595, allocations: 1.344 kB / 0.8797 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002599, allocations: 0 / 0.8797 GB, free: 4.594 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.0003253/0.002924, allocations: 356.6 kB / 0.8801 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.002961, allocations: 13.05 kB / 0.8801 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.003196, allocations: 20.91 kB / 0.8801 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.246e-05/0.003278, allocations: 117.6 kB / 0.8802 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.00329, allocations: 4.375 kB / 0.8802 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.003299, allocations: 384 / 0.8802 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.003402, allocations: 60 kB / 0.8803 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.003408, allocations: 3.938 kB / 0.8803 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.003418, allocations: 1.125 kB / 0.8803 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003423, allocations: 0 / 0.8803 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.003461, allocations: 15.92 kB / 0.8803 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.003579, allocations: 115.6 kB / 0.8804 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.324e-05/0.003642, allocations: 39.09 kB / 0.8804 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.003668, allocations: 15.73 kB / 0.8804 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.003679, allocations: 0 / 0.8804 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.003695, allocations: 33.39 kB / 0.8805 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.003696, allocations: 4 kB / 0.8805 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.003848, allocations: 59.08 kB / 0.8805 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.003874, allocations: 55.41 kB / 0.8806 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.003936, allocations: 157.9 kB / 0.8807 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.003947, allocations: 25.7 kB / 0.8808 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.003976, allocations: 127.5 kB / 0.8809 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.003999, allocations: 7.891 kB / 0.8809 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.00403, allocations: 29.02 kB / 0.8809 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.00413, allocations: 492.1 kB / 0.8814 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.004151, allocations: 4 kB / 0.8814 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.004168, allocations: 4 kB / 0.8814 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.004208, allocations: 21.09 kB / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.00421, allocations: 0 / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.153e-05/0.004282, allocations: 50.25 kB / 0.8815 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004293, allocations: 8 kB / 0.8815 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004298, allocations: 5.594 kB / 0.8815 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.004311, allocations: 3.938 kB / 0.8815 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.004394, allocations: 7.984 kB / 0.8815 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.004399, allocations: 0 / 0.8815 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.004428, allocations: 8.219 kB / 0.8815 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.004433, allocations: 0 / 0.8815 GB, free: 2.574 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 5.892e-05/0.004492, allocations: 156.6 kB / 0.8816 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.004499, allocations: 0 / 0.8816 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.004529, allocations: 11.3 kB / 0.8817 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.004532, allocations: 3.938 kB / 0.8817 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.004536, allocations: 0 / 0.8817 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.004539, allocations: 4.188 kB / 0.8817 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.876e-05/0.004618, allocations: 116.6 kB / 0.8818 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.004619, allocations: 0 / 0.8818 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.004659, allocations: 15.97 kB / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.004661, allocations: 0 / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.004672, allocations: 0 / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.004673, allocations: 3.938 kB / 0.8818 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.004675, allocations: 7.938 kB / 0.8818 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.45e-05/0.00477, allocations: 80.39 kB / 0.8819 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.004779, allocations: 4 kB / 0.8819 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.004789, allocations: 0 / 0.8819 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.004814, allocations: 0 / 0.8819 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.004835, allocations: 11.92 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.004839, allocations: 32 / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.004872, allocations: 127.2 kB / 0.882 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004872, allocations: 3.938 kB / 0.882 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001217/0.004994, allocations: 4 kB / 0.882 GB, free: 1.965 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 9.142e-05/0.005085, allocations: 99.25 kB / 0.8821 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.005188, allocations: 23.61 kB / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.005191, allocations: 4 kB / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.005209, allocations: 11.69 kB / 0.8822 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.005367, allocations: 16.11 kB / 0.8822 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.005837, allocations: 134.5 kB / 0.8823 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.005866, allocations: 55.34 kB / 0.8824 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.005907, allocations: 8 kB / 0.8824 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.005941, allocations: 8.5 kB / 0.8824 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of SimCode: time 7.02e-07/0.005941, allocations: 3.938 kB / 0.8824 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of Templates: time 0.002424/0.008365, allocations: 0.8006 MB / 0.8832 GB, free: 0.7578 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: 4.796321148984134]