Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 107.4 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6699, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002264/0.6722, allocations: 1.28 MB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.6732, allocations: 0.5993 MB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.6733, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.6733, allocations: 3.984 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.6734, allocations: 11.92 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.6739, allocations: 150.5 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.674, allocations: 19.86 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.674, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.6741, allocations: 11.94 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.6741, allocations: 11.97 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.6742, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.6747, allocations: 339.3 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.6747, allocations: 8 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.6747, allocations: 15.92 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.6751, allocations: 139.5 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.6751, allocations: 3.984 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6751, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.6751, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 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.0004388/0.6755, allocations: 353.3 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6756, allocations: 8.031 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.6756, allocations: 8.844 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6757, allocations: 172.3 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6758, allocations: 384 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.6758, allocations: 4.375 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.6759, allocations: 34.27 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6759, allocations: 192 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.6759, allocations: 15.92 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6759, allocations: 3.938 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.676, allocations: 11.94 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.6763, allocations: 253 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.6765, allocations: 46.56 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.6766, allocations: 20.84 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.6766, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.6766, allocations: 34.5 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.6767, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001836/0.6768, allocations: 61.69 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.6769, allocations: 51.41 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.6769, allocations: 97.84 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.677, allocations: 25.7 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.677, allocations: 84.05 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.677, allocations: 19.8 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.6771, allocations: 17.72 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.6772, allocations: 314.8 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.6772, allocations: 8 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.6772, allocations: 21.72 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.6773, allocations: 33.64 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6773, allocations: 4 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.393e-05/0.6774, allocations: 61.88 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6774, allocations: 5.719 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6774, allocations: 4 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6775, allocations: 4.031 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.6775, allocations: 12.05 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.6775, allocations: 128 / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.6776, allocations: 11.92 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6776, allocations: 4 kB / 1.212 GB, free: 9.094 MB / 0.9356 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 6.137e-05/0.6776, allocations: 105.8 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.6777, allocations: 7.922 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.6778, allocations: 65.12 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.6778, allocations: 4 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6778, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.6779, allocations: 85.02 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.6779, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.6779, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.6779, allocations: 7.922 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001042/0.6781, allocations: 132.9 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001307/0.6782, allocations: 226.8 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.823e-05/0.6782, allocations: 7.984 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.6783, allocations: 83.28 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of Backend: time 4.61e-07/0.6783, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.6788, allocations: 150.2 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0003889/0.6792, allocations: 0.5659 MB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.003324/0.6825, allocations: 1.159 MB / 1.215 GB, free: 6.395 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches