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.00121/0.00121, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00131/0.00131, allocations: 181 kB / 24.08 MB, free: 416 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.9502/0.9502, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.935/1.935, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] 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.653e-06/1.653e-06, allocations: 0 / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.786e-05, allocations: 2.312 kB / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002944/0.002972, allocations: 1.353 MB / 0.8133 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.004031, allocations: 0.5496 MB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.004072, allocations: 0 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.004098, allocations: 0 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.921e-05/0.004167, allocations: 15.86 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.004847, allocations: 140.7 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.004915, allocations: 19.88 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.004968, allocations: 7.984 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.005011, allocations: 5.469 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.683e-05/0.005078, allocations: 11.92 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.005092, allocations: 0 / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.005512, allocations: 271.4 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.005532, allocations: 9.266 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.005555, allocations: 8 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.005812, allocations: 155.4 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.005815, allocations: 1.938 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005817, allocations: 0 / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005822, allocations: 0 / 0.8145 GB, free: 14.89 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.0004414/0.006263, allocations: 388 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.006321, allocations: 16.03 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.00637, allocations: 7.297 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.006473, allocations: 108.6 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.006492, allocations: 4.312 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.006502, allocations: 4.375 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.006609, allocations: 38.25 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.006618, allocations: 0.7188 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.006627, allocations: 384 / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.006634, allocations: 0.9062 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.006669, allocations: 16.64 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.007038, allocations: 236.4 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.007242, allocations: 49.08 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.007272, allocations: 19.73 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.007305, allocations: 7.938 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.007331, allocations: 33.39 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.007333, allocations: 0.5312 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.00119/0.008523, allocations: 54.94 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.008629, allocations: 55.34 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.00872, allocations: 166.1 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.008732, allocations: 25.7 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.008793, allocations: 139.9 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.008805, allocations: 11.84 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.008841, allocations: 23.38 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.008973, allocations: 0.4893 MB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.008986, allocations: 3.984 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.009012, allocations: 24.16 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.009058, allocations: 32.48 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00906, allocations: 0 / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.618e-05/0.009146, allocations: 53.62 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.009165, allocations: 11.34 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.009169, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.009184, allocations: 5.375 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.009238, allocations: 8 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.009241, allocations: 0 / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.009262, allocations: 3.938 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.009268, allocations: 5.094 kB / 0.8164 GB, free: 12.69 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 7.895e-05/0.009347, allocations: 152.6 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.009363, allocations: 9.922 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.00947, allocations: 57.36 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.009473, allocations: 3.938 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.009475, allocations: 4.125 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.009478, allocations: 0 / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.009579, allocations: 107.6 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.00958, allocations: 0 / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.009605, allocations: 7.984 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009607, allocations: 0 / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.009611, allocations: 0 / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009613, allocations: 7.938 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009614, allocations: 0.5312 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.654e-05/0.00971, allocations: 195.9 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.009717, allocations: 5.297 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.009725, allocations: 0 / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.009749, allocations: 0 / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.009762, allocations: 8.672 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.009765, allocations: 3.938 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.0098, allocations: 123.8 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0098, allocations: 3.938 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001709/0.009971, allocations: 24.53 kB / 0.8171 GB, free: 11.93 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.0003324/0.0103, allocations: 118.9 kB / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.529e-05/0.01038, allocations: 31.59 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01038, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.0104, allocations: 23.75 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.01054, allocations: 0 / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.01077, allocations: 124.7 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.01081, allocations: 59.3 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.01083, allocations: 7.969 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.01087, allocations: 71.14 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01087, allocations: 0 / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.002056/0.01292, allocations: 0.5876 MB / 0.8181 GB, free: 10.87 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: 4.999915558844805]