Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 200.9 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.88/2.88, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/0.7512, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002286/0.7535, allocations: 1.304 MB / 1.275 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.7545, allocations: 0.5994 MB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.7546, allocations: 0 / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.7546, allocations: 3.984 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.7546, allocations: 7.938 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.7551, allocations: 147.6 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.7552, allocations: 23.92 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.7552, allocations: 0 / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.7552, allocations: 7.938 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.7553, allocations: 11.98 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.7553, allocations: 0 / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.7558, allocations: 347.3 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.7558, allocations: 7.938 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.7558, allocations: 4 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.7561, allocations: 146.2 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7561, allocations: 7.984 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7561, allocations: 0 / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.7561, allocations: 0 / 1.277 GB, free: 1.918 MB / 0.9669 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.0004397/0.7565, allocations: 363 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.7566, allocations: 8.031 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.7566, allocations: 0.9375 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.7567, allocations: 180.3 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7567, allocations: 8.312 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.7567, allocations: 384 / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.7568, allocations: 38.27 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.7569, allocations: 192 / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.7569, allocations: 7.922 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.7569, allocations: 0 / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.7569, allocations: 16 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.7572, allocations: 248.9 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.7574, allocations: 50.56 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.7575, allocations: 20.84 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.7575, allocations: 0 / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.7575, allocations: 30.56 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.7575, allocations: 0 / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001656/0.7577, allocations: 61.69 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7577, allocations: 51.41 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.7578, allocations: 109.9 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.7578, allocations: 25.7 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.7579, allocations: 88.03 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.7579, allocations: 15.91 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.7579, allocations: 17.72 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.758, allocations: 314.8 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.758, allocations: 8 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.7581, allocations: 21.72 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.7581, allocations: 33.83 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7581, allocations: 4 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.7583, allocations: 57.56 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.7583, allocations: 8 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.7583, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.7583, allocations: 4.031 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.7583, allocations: 12 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.7583, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.7584, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.7584, allocations: 7.938 kB / 1.278 GB, free: 15.91 MB / 0.9825 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.798e-05/0.7584, allocations: 115.2 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.7585, allocations: 7.984 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.7586, allocations: 61.14 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7586, allocations: 8 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7586, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7586, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.7588, allocations: 157.6 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7588, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.7588, allocations: 8 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7588, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.7588, allocations: 3.984 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7588, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7588, allocations: 3.938 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.759, allocations: 151.5 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.759, allocations: 81.05 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.759, allocations: 4 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.7591, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.7591, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.7591, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.7591, allocations: 87.27 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7591, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002463/0.7594, allocations: 19.94 kB / 1.279 GB, free: 15.11 MB / 0.9825 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.0001697/0.7595, allocations: 119.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.919e-05/0.7596, allocations: 32.39 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7596, allocations: 3.938 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.7597, allocations: 12 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.7599, allocations: 9.75 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.7602, allocations: 136.3 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.7605, allocations: 0.6768 MB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.7605, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.7605, allocations: 15.42 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.7605, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.002825/0.7633, allocations: 0.5314 MB / 1.28 GB, free: 13.53 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.537704283371568]