Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0009795/0.0009795, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001022/0.001022, allocations: 165.4 kB / 23.82 MB, free: 0.7461 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 1.019/1.019, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.6236 GB, free: 8.535 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.559e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001818/0.001843, allocations: 1.31 MB / 0.8128 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007382/0.002581, allocations: 0.5556 MB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.002608, allocations: 0.9062 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.002633, allocations: 0 / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.002685, allocations: 8.578 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.003127, allocations: 140.1 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.00318, allocations: 5.25 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.003219, allocations: 7.938 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.00325, allocations: 7.984 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.003289, allocations: 5.812 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.003303, allocations: 0 / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.003694, allocations: 271.3 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.00371, allocations: 8 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.003728, allocations: 0 / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.003934, allocations: 148.7 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.003937, allocations: 0 / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.003938, allocations: 0 / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003943, allocations: 0.9375 kB / 0.8139 GB, free: 15.29 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.0003394/0.004282, allocations: 380 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.004326, allocations: 8.812 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.004371, allocations: 8.938 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.345e-05/0.004455, allocations: 109.5 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.004466, allocations: 1.594 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.004475, allocations: 4.375 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.004554, allocations: 34.19 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004563, allocations: 1.219 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.004575, allocations: 4.375 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.004583, allocations: 384 / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.004601, allocations: 4.938 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.004718, allocations: 116.6 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.806e-05/0.004766, allocations: 28.91 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.004785, allocations: 15.73 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.004801, allocations: 0 / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.004821, allocations: 41.33 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.004822, allocations: 0 / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.004947, allocations: 39.23 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.004975, allocations: 51.41 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.005041, allocations: 162.4 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.00505, allocations: 29.7 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.00508, allocations: 132.2 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.005104, allocations: 7.891 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.005128, allocations: 19.38 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.005236, allocations: 496.7 kB / 0.8156 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.005248, allocations: 0 / 0.8156 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-06/0.005258, allocations: 8.688 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.005285, allocations: 17.52 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005287, allocations: 0 / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.749e-05/0.005334, allocations: 37.7 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005346, allocations: 4 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.005351, allocations: 4.625 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.005364, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.005503, allocations: 12.67 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003186/0.005821, allocations: 0.8983 MB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.005836, allocations: 0 / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.005842, allocations: 0 / 0.8165 GB, free: 12.43 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 6.389e-05/0.005906, allocations: 157.4 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-06/0.005911, allocations: 4.875 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.006, allocations: 46.34 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006002, allocations: 0 / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006006, allocations: 0 / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006009, allocations: 0 / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.931e-05/0.006078, allocations: 129.4 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.006079, allocations: 0 / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.006137, allocations: 10.06 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.00614, allocations: 0 / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.006155, allocations: 7.938 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000273/0.006428, allocations: 0.8933 MB / 0.8177 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.00643, allocations: 0.6562 kB / 0.8177 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.662e-05/0.006487, allocations: 80.33 kB / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.006495, allocations: 7.422 kB / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.006505, allocations: 0 / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-06/0.006512, allocations: 4 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.006526, allocations: 0 / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006529, allocations: 0 / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.006565, allocations: 123.2 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006565, allocations: 3.938 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001379/0.006703, allocations: 7.938 kB / 0.8179 GB, free: 10.87 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.0001446/0.006847, allocations: 108.8 kB / 0.8181 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.006989, allocations: 28.77 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.006991, allocations: 0 / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.007028, allocations: 27.61 kB / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.007143, allocations: 4.438 kB / 0.8181 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.007428, allocations: 104.5 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.682e-05/0.007454, allocations: 51.36 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.007469, allocations: 0.7812 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.007485, allocations: 9.062 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.007485, allocations: 4 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.002342/0.009827, allocations: 0.5359 MB / 0.8188 GB, free: 10.01 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.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.9955242639407516]