Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_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_9_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.001637/0.001637, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001925/0.001925, 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.88 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6989, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00195/0.7008, allocations: 1.282 MB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.7017, allocations: 0.5946 MB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.7017, allocations: 0 / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.7017, allocations: 0.6094 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.7018, allocations: 18.2 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.7022, allocations: 140.3 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.7023, allocations: 19.67 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.7023, allocations: 3.375 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.7024, allocations: 5.578 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.7024, allocations: 18.22 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.7024, allocations: 1.25 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.703, allocations: 340.7 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.703, allocations: 6.344 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.703, allocations: 11.92 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.7032, allocations: 150.5 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7033, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7033, allocations: 0.6875 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.7033, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 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.0003318/0.7036, allocations: 355.7 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7036, allocations: 9.578 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.7037, allocations: 2.219 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.083e-05/0.7037, allocations: 179 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.7038, allocations: 1.562 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.7038, allocations: 1.812 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.7039, allocations: 44.34 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7039, allocations: 2.062 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.7039, allocations: 3.938 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.7039, allocations: 0 / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.704, allocations: 20.11 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.7042, allocations: 249.8 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.7044, allocations: 48.7 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.7044, allocations: 23.2 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.7044, allocations: 0.875 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.046e-05/0.7044, allocations: 36.48 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7045, allocations: 0 / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001525/0.7046, allocations: 60.16 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.331e-05/0.7046, allocations: 52.7 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.237e-05/0.7047, allocations: 98.77 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.7047, allocations: 30.39 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.7047, allocations: 85.59 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.7047, allocations: 14.98 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.7048, allocations: 14.83 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.7048, allocations: 317 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.7048, allocations: 13.2 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.7049, allocations: 21.73 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.7049, allocations: 26.78 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7049, allocations: 0 / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.656e-05/0.705, allocations: 67.44 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.705, allocations: 5.609 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.705, allocations: 1.375 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7051, allocations: 5.094 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.792e-05/0.7051, allocations: 8.172 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7051, allocations: 0.8125 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.7051, allocations: 5.719 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.7052, allocations: 1.344 kB / 1.093 GB, free: 2.164 MB / 0.8575 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 4.165e-05/0.7052, allocations: 112.8 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.7052, allocations: 9.188 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.7054, allocations: 66.83 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7054, allocations: 0 / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7054, allocations: 1.484 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.7054, allocations: 82.89 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.7054, allocations: 1.344 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.7055, allocations: 0.5625 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.7055, allocations: 7.453 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.557e-05/0.7056, allocations: 135.3 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.491e-05/0.7057, allocations: 222.2 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.458e-05/0.7057, allocations: 12.06 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.487e-05/0.7057, allocations: 77.94 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of Backend: time 3.5e-07/0.7057, allocations: 0.6875 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.7062, allocations: 157.2 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002521/0.7065, allocations: 0.5544 MB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of Templates: time 0.003285/0.7098, allocations: 1.164 MB / 1.095 GB, free: 0.6602 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches