Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0009578/0.0009578, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.00187/0.00187, allocations: 171.1 kB / 24.87 MB, free: 9.258 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.9574/0.9574, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.83/1.83, allocations: 377.9 MB / 0.6247 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8128 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.764e-05, allocations: 4.312 kB / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001692/0.00171, allocations: 1.332 MB / 0.8141 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.002665, allocations: 0.5607 MB / 0.8146 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.002693, allocations: 0 / 0.8146 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.002712, allocations: 3.938 kB / 0.8146 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.002762, allocations: 9.484 kB / 0.8146 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.003186, allocations: 147.2 kB / 0.8148 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.003234, allocations: 20.41 kB / 0.8148 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.003273, allocations: 5.031 kB / 0.8148 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.266e-05/0.003306, allocations: 11.97 kB / 0.8148 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.003355, allocations: 7.984 kB / 0.8148 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.00337, allocations: 4.656 kB / 0.8148 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.003661, allocations: 263.4 kB / 0.8151 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.003676, allocations: 4.516 kB / 0.8151 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.003693, allocations: 9.375 kB / 0.8151 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.003866, allocations: 159.4 kB / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003868, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003868, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003872, allocations: 1.156 kB / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002924/0.004164, allocations: 395.8 kB / 0.8156 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.004195, allocations: 8.031 kB / 0.8156 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.004218, allocations: 1.875 kB / 0.8156 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.0043, allocations: 116.6 kB / 0.8157 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.00431, allocations: 1.281 kB / 0.8157 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-06/0.004317, allocations: 4.375 kB / 0.8157 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.816e-05/0.004375, allocations: 39.28 kB / 0.8158 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004382, allocations: 192 / 0.8158 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.004387, allocations: 384 / 0.8158 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004392, allocations: 5.844 kB / 0.8158 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.004414, allocations: 15.86 kB / 0.8158 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.004608, allocations: 236.4 kB / 0.816 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.004732, allocations: 44.33 kB / 0.8161 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.00475, allocations: 15.67 kB / 0.8161 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.004765, allocations: 15.17 kB / 0.8161 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.004783, allocations: 33.39 kB / 0.8161 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004784, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001014/0.004885, allocations: 57.55 kB / 0.8162 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.004909, allocations: 51.41 kB / 0.8162 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.004965, allocations: 157.9 kB / 0.8164 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.004973, allocations: 25.7 kB / 0.8164 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.005014, allocations: 134.8 kB / 0.8165 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.005024, allocations: 19.81 kB / 0.8166 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.005049, allocations: 23.88 kB / 0.8166 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.005144, allocations: 498.1 kB / 0.817 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.005154, allocations: 3.984 kB / 0.8171 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.005178, allocations: 23.38 kB / 0.8171 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.005221, allocations: 35.3 kB / 0.8171 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005223, allocations: 1.594 kB / 0.8171 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.378e-05/0.005276, allocations: 49.62 kB / 0.8172 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.005287, allocations: 8 kB / 0.8172 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.005291, allocations: 0 / 0.8172 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.005299, allocations: 4.938 kB / 0.8172 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/0.005332, allocations: 15.98 kB / 0.8172 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005334, allocations: 0 / 0.8172 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.005347, allocations: 0.5312 kB / 0.8172 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005352, allocations: 8.781 kB / 0.8172 GB, free: 11.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.184e-05/0.005404, allocations: 152.6 kB / 0.8173 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.00542, allocations: 8.797 kB / 0.8173 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.005499, allocations: 62.58 kB / 0.8174 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.005502, allocations: 4.062 kB / 0.8174 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005505, allocations: 4 kB / 0.8174 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005507, allocations: 0 / 0.8174 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.114e-05/0.005589, allocations: 98.11 kB / 0.8175 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005589, allocations: 0 / 0.8175 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.005605, allocations: 4.906 kB / 0.8175 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.005606, allocations: 0 / 0.8175 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.005612, allocations: 9.516 kB / 0.8175 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.005614, allocations: 4 kB / 0.8175 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005614, allocations: 0 / 0.8175 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.005693, allocations: 195.9 kB / 0.8177 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.005699, allocations: 7.938 kB / 0.8177 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-06/0.005706, allocations: 1.094 kB / 0.8177 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.00573, allocations: 0 / 0.8177 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.005741, allocations: 4.516 kB / 0.8177 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005745, allocations: 5 kB / 0.8177 GB, free: 11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.005774, allocations: 127.2 kB / 0.8179 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005774, allocations: 5.125 kB / 0.8179 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001663/0.00594, allocations: 19.88 kB / 0.8179 GB, free: 10.85 MB / 0.7292 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 (4): * Single equations (assignments): 4 * 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.0001145/0.006055, allocations: 122.3 kB / 0.818 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.006122, allocations: 23.67 kB / 0.818 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006123, allocations: 0 / 0.818 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.006136, allocations: 20.12 kB / 0.818 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.00627, allocations: 13.02 kB / 0.818 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.00646, allocations: 127.2 kB / 0.8182 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.006487, allocations: 59.3 kB / 0.8182 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.006509, allocations: 5.328 kB / 0.8182 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.006542, allocations: 71.3 kB / 0.8183 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of SimCode: time 4e-07/0.006543, allocations: 0 / 0.8183 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.001831/0.008374, allocations: 0.5936 MB / 0.8189 GB, free: 9.777 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.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.924549679271877]