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.002046/0.002046, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002325/0.002325, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.142/3.142, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] 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.724e-06/1.724e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.845e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002738/0.002766, allocations: 1.319 MB / 0.8121 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003916, allocations: 0.5517 MB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.003943, allocations: 0 / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.003962, allocations: 9.641 kB / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.004023, allocations: 7.922 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.004626, allocations: 144.2 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.004686, allocations: 19.86 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.004721, allocations: 8.672 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.00476, allocations: 8 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.004816, allocations: 8.953 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.004832, allocations: 4 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.005338, allocations: 272.1 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.005352, allocations: 0 / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.005381, allocations: 4.781 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.005704, allocations: 155.5 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005707, allocations: 0 / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.71e-07/0.005708, allocations: 1.25 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.005712, allocations: 0 / 0.8132 GB, free: 15.59 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.0005339/0.006246, allocations: 387.9 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.006282, allocations: 14.06 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.006334, allocations: 8.875 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.006459, allocations: 116.6 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.006475, allocations: 8.297 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.006485, allocations: 4.375 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.006595, allocations: 39.19 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006603, allocations: 4.188 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.00661, allocations: 0.9375 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.006615, allocations: 384 / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.006674, allocations: 20.73 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.007055, allocations: 249.4 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.007298, allocations: 55.11 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.007344, allocations: 23.67 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.007365, allocations: 0 / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.007398, allocations: 38.92 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.007399, allocations: 0 / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/0.007596, allocations: 61.62 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.007644, allocations: 55.34 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.007771, allocations: 159.6 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.007796, allocations: 29.7 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.00788, allocations: 130.8 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.0079, allocations: 15.84 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.007947, allocations: 24.34 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004963/0.008443, allocations: 496.1 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.00847, allocations: 8 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.008512, allocations: 25 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.854e-05/0.008581, allocations: 39.36 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.008583, allocations: 0 / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/0.008689, allocations: 58.19 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.008706, allocations: 7.344 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.008717, allocations: 8.062 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.00873, allocations: 0.5 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.008785, allocations: 12.69 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.00879, allocations: 0 / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.008813, allocations: 1 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.008823, allocations: 11.94 kB / 0.8153 GB, free: 13.32 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 0.0001186/0.008942, allocations: 157.1 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.008971, allocations: 12.31 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.009128, allocations: 66.67 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00913, allocations: 0 / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.009133, allocations: 0 / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009136, allocations: 1.219 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.009302, allocations: 120.6 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009304, allocations: 0 / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.009341, allocations: 8.812 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.009343, allocations: 0 / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.009349, allocations: 0.9375 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.009356, allocations: 7.875 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.009359, allocations: 3.984 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.009548, allocations: 201.3 kB / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.009559, allocations: 7.938 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.009574, allocations: 4 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.009625, allocations: 4.625 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.009645, allocations: 0 / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.009649, allocations: 0.5 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.009728, allocations: 129.1 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009728, allocations: 0 / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002538/0.009982, allocations: 27.86 kB / 0.816 GB, free: 12.52 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.0002073/0.01019, allocations: 111.2 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01031, allocations: 36.45 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01031, allocations: 0 / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-05/0.01034, allocations: 19.12 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.01055, allocations: 14 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.01091, allocations: 118.4 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.474e-05/0.01098, allocations: 63.2 kB / 0.8163 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.01102, allocations: 4.625 kB / 0.8163 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.01105, allocations: 12.5 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01105, allocations: 0.5 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.003605/0.01466, allocations: 0.5289 MB / 0.8169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.19393560406752]