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.0009557/0.0009557, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.000931/0.000931, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9437/0.9437, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.862/1.862, allocations: 377.8 MB / 0.6239 GB, free: 8.582 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.713e-06/1.713e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.925e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001987/0.002006, allocations: 1.353 MB / 0.8128 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.002678, allocations: 0.5512 MB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.002706, allocations: 0 / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.002727, allocations: 3.984 kB / 0.8134 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.002768, allocations: 9.219 kB / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.003148, allocations: 143.9 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.003202, allocations: 23.86 kB / 0.8136 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.00324, allocations: 1.344 kB / 0.8136 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.003267, allocations: 8 kB / 0.8136 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.003325, allocations: 16.02 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.003337, allocations: 0.5312 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.003606, allocations: 273.2 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.003619, allocations: 4 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.003637, allocations: 7.938 kB / 0.8139 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.003818, allocations: 159.4 kB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00382, allocations: 0 / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003821, allocations: 0 / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003825, allocations: 1.938 kB / 0.814 GB, free: 15.56 MB / 0.7761 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.0003396/0.004165, allocations: 384 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.0042, allocations: 8.031 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.004235, allocations: 9.234 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.004325, allocations: 117.2 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004335, allocations: 4.375 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.004342, allocations: 0.9062 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.878e-05/0.004421, allocations: 42.97 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.004428, allocations: 192 / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.004436, allocations: 0.9062 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.004444, allocations: 384 / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.004476, allocations: 17.33 kB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.004737, allocations: 247.8 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.004902, allocations: 59.61 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.004927, allocations: 21.06 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.004941, allocations: 0 / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.004962, allocations: 37.39 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.004962, allocations: 0 / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001242/0.005087, allocations: 54.53 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.005113, allocations: 55.34 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.005181, allocations: 162.7 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.005189, allocations: 25.7 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.005233, allocations: 136.1 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.005243, allocations: 15.84 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.005269, allocations: 19.38 kB / 0.8154 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005373, allocations: 0.4884 MB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.005384, allocations: 4.844 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.005408, allocations: 31.31 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.005443, allocations: 32.67 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.005447, allocations: 4 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.85e-05/0.005506, allocations: 54.84 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005517, allocations: 4 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.005523, allocations: 8.062 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.005534, allocations: 1.844 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-05/0.005564, allocations: 12 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.00557, allocations: 3.938 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.005583, allocations: 0 / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.005589, allocations: 7.984 kB / 0.816 GB, free: 13.31 MB / 0.7761 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.71e-05/0.005646, allocations: 159.1 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.005661, allocations: 7.953 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.005755, allocations: 57.31 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005756, allocations: 0 / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.005759, allocations: 0 / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005762, allocations: 4.5 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.253e-05/0.005855, allocations: 112.6 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005856, allocations: 1.438 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.005872, allocations: 8 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005873, allocations: 1.5 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.005879, allocations: 7.938 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005881, allocations: 3.938 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005882, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.05e-05/0.005972, allocations: 196.6 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.005979, allocations: 7.938 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.005988, allocations: 5.344 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.006013, allocations: 3.938 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.006025, allocations: 0 / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.00603, allocations: 4 kB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.006061, allocations: 124 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006061, allocations: 0 / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001609/0.006222, allocations: 28.52 kB / 0.8167 GB, free: 12.53 MB / 0.7761 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.0001211/0.006343, allocations: 115.8 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.598e-05/0.006419, allocations: 42.67 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006421, allocations: 0 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.006434, allocations: 11.69 kB / 0.8169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.006571, allocations: 8 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.006807, allocations: 130.3 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.006842, allocations: 55.36 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.006865, allocations: 6.391 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.006883, allocations: 12.5 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.006884, allocations: 0 / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of Templates: time 0.001915/0.008799, allocations: 0.523 MB / 0.8176 GB, free: 11.59 MB / 0.7761 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: 5.136087347986177]