Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.000944/0.000944, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0009806/0.0009806, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.9348/0.9348, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.873/1.873, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.206e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001789/0.001811, allocations: 1.308 MB / 0.8141 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006666/0.002477, allocations: 0.5441 MB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.002499, allocations: 3.938 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.002515, allocations: 0 / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.002552, allocations: 1.125 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.002898, allocations: 152.6 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.002939, allocations: 15.91 kB / 0.8148 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.049e-05/0.00297, allocations: 0 / 0.8148 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.002993, allocations: 4 kB / 0.8148 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.003031, allocations: 6.219 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.00304, allocations: 0 / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.003323, allocations: 267.4 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.003334, allocations: 0 / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.208e-05/0.003346, allocations: 4 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.003523, allocations: 151.5 kB / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003525, allocations: 0.5312 kB / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003526, allocations: 0.7188 kB / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00353, allocations: 0 / 0.8152 GB, free: 15.04 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002661/0.003796, allocations: 384.5 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.003826, allocations: 9.625 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.003847, allocations: 0.9375 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.003923, allocations: 116.9 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.003931, allocations: 384 / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-06/0.003936, allocations: 1 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.858e-05/0.003984, allocations: 31.11 kB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.003991, allocations: 192 / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-06/0.003996, allocations: 384 / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.003999, allocations: 0.9062 kB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.147e-05/0.004011, allocations: 12.5 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.568e-05/0.004107, allocations: 105.9 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.004144, allocations: 31 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-06/0.004154, allocations: 9.062 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.004166, allocations: 0 / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.004191, allocations: 41.44 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.004192, allocations: 1.75 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 9.068e-05/0.004283, allocations: 41.69 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.004307, allocations: 55.34 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.004362, allocations: 155.2 kB / 0.8161 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.00437, allocations: 25.7 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.004399, allocations: 126.9 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.004419, allocations: 8.859 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.004441, allocations: 19.38 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.004543, allocations: 0.4922 MB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.004553, allocations: 6.312 kB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.004559, allocations: 0 / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.004581, allocations: 15.69 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004583, allocations: 0 / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.232e-05/0.004625, allocations: 40.95 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.004634, allocations: 4 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.004637, allocations: 0 / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.004646, allocations: 7.984 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.004734, allocations: 8 kB / 0.8169 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002921/0.005026, allocations: 0.8932 MB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.005037, allocations: 0 / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005041, allocations: 0 / 0.8177 GB, free: 12.21 MB / 0.7761 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.005095, allocations: 157.6 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.005103, allocations: 4.5 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.005172, allocations: 49.45 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005174, allocations: 0.5625 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005176, allocations: 3.984 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.005178, allocations: 1.062 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.53e-05/0.005233, allocations: 97.22 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005234, allocations: 0 / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.005281, allocations: 16.86 kB / 0.818 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.005283, allocations: 3.938 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.005286, allocations: 0.8125 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002865/0.005573, allocations: 0.8981 MB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005574, allocations: 0 / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.824e-05/0.005632, allocations: 68.92 kB / 0.819 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.005642, allocations: 12.92 kB / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.00565, allocations: 0 / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.005661, allocations: 0 / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.005671, allocations: 5 kB / 0.819 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005674, allocations: 4 kB / 0.819 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.005706, allocations: 120.2 kB / 0.8191 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005706, allocations: 0 / 0.8191 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001321/0.005839, allocations: 11.94 kB / 0.8191 GB, free: 10.68 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.005951, allocations: 108.4 kB / 0.8192 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.006067, allocations: 28.67 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006068, allocations: 1 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.006104, allocations: 19.67 kB / 0.8193 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.744e-05/0.006191, allocations: 0.5938 kB / 0.8193 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.006388, allocations: 117.4 kB / 0.8194 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.376e-05/0.006412, allocations: 51.36 kB / 0.8195 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.326e-05/0.006425, allocations: 5.625 kB / 0.8195 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.006452, allocations: 66.2 kB / 0.8195 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.006453, allocations: 0 / 0.8195 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.001815/0.008267, allocations: 0.5254 MB / 0.82 GB, free: 9.734 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.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.077651529107243]