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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00114/0.00114, allocations: 115.2 kB / 16.42 MB, free: 6.441 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.001078/0.001078, allocations: 183.9 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 72.02 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6804, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002193/0.6826, allocations: 1.288 MB / 1.222 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.6836, allocations: 0.5993 MB / 1.223 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.6836, allocations: 4 kB / 1.223 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.6837, allocations: 0 / 1.223 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.6837, allocations: 3.938 kB / 1.223 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.6843, allocations: 147.4 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.6843, allocations: 19.92 kB / 1.223 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.6844, allocations: 4 kB / 1.223 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.6844, allocations: 11.92 kB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.6845, allocations: 8 kB / 1.223 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.6845, allocations: 0 / 1.223 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.685, allocations: 347.3 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.685, allocations: 3.938 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.685, allocations: 11.98 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.6853, allocations: 143.5 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6853, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6853, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6853, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9512 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.0004368/0.6858, allocations: 361.2 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.6858, allocations: 12.62 kB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.6859, allocations: 0.9375 kB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.686, allocations: 164.3 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.686, allocations: 12.31 kB / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.6861, allocations: 4.375 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.6862, allocations: 46.19 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.6862, allocations: 192 / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.6862, allocations: 7.938 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.6862, allocations: 0 / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.6863, allocations: 15.98 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.6866, allocations: 244.9 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.6868, allocations: 58.56 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.6868, allocations: 16.86 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.6868, allocations: 3.984 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.6869, allocations: 34.56 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.6869, allocations: 0 / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001667/0.687, allocations: 57.59 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.6871, allocations: 59.39 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.6871, allocations: 97.86 kB / 1.225 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.6872, allocations: 25.7 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.6872, allocations: 88.08 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.6872, allocations: 15.73 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.6873, allocations: 17.72 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.6873, allocations: 310.8 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.6874, allocations: 12 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.6874, allocations: 25.7 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.6875, allocations: 25.72 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6875, allocations: 0 / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.155e-05/0.6876, allocations: 61.56 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6876, allocations: 8 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.6876, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6876, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.6877, allocations: 16.02 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6877, allocations: 0 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.6877, allocations: 3.938 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.6877, allocations: 4 kB / 1.225 GB, free: 13.77 MB / 0.9512 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.149e-05/0.6878, allocations: 114.3 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.6878, allocations: 11.84 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.688, allocations: 57.19 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.688, allocations: 7.922 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.688, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.688, allocations: 77.11 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.688, allocations: 0 / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.6881, allocations: 0 / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.6881, allocations: 4 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001135/0.6882, allocations: 132.8 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001274/0.6884, allocations: 223.3 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.596e-05/0.6884, allocations: 16.03 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.874e-05/0.6884, allocations: 79.28 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of Backend: time 4.3e-07/0.6885, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.689, allocations: 156.1 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000382/0.6894, allocations: 0.5698 MB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of Templates: time 0.003405/0.6928, allocations: 1.16 MB / 1.228 GB, free: 11.06 MB / 0.9512 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