Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 112.7 kB / 16.42 MB, free: 6.492 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.001874/0.001874, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.568/1.568, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7916, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003281/0.7949, allocations: 2.388 MB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.7968, allocations: 1.399 MB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.797, allocations: 11.88 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.7976, allocations: 202.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.7977, allocations: 75.34 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.7981, allocations: 119.7 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.7985, allocations: 334.8 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.7986, allocations: 48.72 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.7988, allocations: 135.5 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.7991, allocations: 175.4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.7991, allocations: 32 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.7993, allocations: 67.97 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.7994, allocations: 127.6 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.7996, allocations: 171.1 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.8001, allocations: 0.4908 MB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.8001, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.41e-07/0.8001, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.8001, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001217/0.8013, allocations: 0.7158 MB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.8014, allocations: 8.031 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008631/0.8022, allocations: 152.4 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.8027, allocations: 358.6 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.8028, allocations: 84.19 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.8028, allocations: 8.375 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.8035, allocations: 303.4 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8036, allocations: 0 / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.8036, allocations: 4 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.8036, allocations: 4 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.8047, allocations: 420.3 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.8063, allocations: 0.8626 MB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006642/0.8069, allocations: 274.4 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.8075, allocations: 212.7 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.8075, allocations: 4 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.8076, allocations: 38.56 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.8076, allocations: 3.938 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001737/0.8093, allocations: 0.6458 MB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.8093, allocations: 51.41 kB / 1.177 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.8098, allocations: 433.6 kB / 1.177 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.8098, allocations: 25.7 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.81, allocations: 187.9 kB / 1.178 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.81, allocations: 63.47 kB / 1.178 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8102, allocations: 49.69 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8103, allocations: 342.8 kB / 1.178 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.8108, allocations: 195.8 kB / 1.178 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.8114, allocations: 233.8 kB / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009772/0.8124, allocations: 364.6 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8124, allocations: 4 kB / 1.179 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001153/0.8136, allocations: 471.7 kB / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8136, allocations: 4 kB / 1.179 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8136, allocations: 3.938 kB / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8136, allocations: 4 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.8141, allocations: 59.92 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8141, allocations: 3.938 kB / 1.179 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.8144, allocations: 39.91 kB / 1.179 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.8145, allocations: 7.984 kB / 1.179 GB, free: 7.285 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000173/0.8147, allocations: 173.7 kB / 1.179 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.8147, allocations: 39.77 kB / 1.18 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.8148, allocations: 39.59 kB / 1.18 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8148, allocations: 0 / 1.18 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8148, allocations: 0 / 1.18 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.8149, allocations: 120.8 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.815, allocations: 0 / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.8153, allocations: 31.95 kB / 1.18 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.8154, allocations: 32.02 kB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00143/0.8169, allocations: 0.5356 MB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00122/0.8181, allocations: 0.6371 MB / 1.181 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005336/0.8187, allocations: 223.8 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003117/0.819, allocations: 307.1 kB / 1.181 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of Backend: time 6.91e-07/0.819, allocations: 3.938 kB / 1.181 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.82, allocations: 327.3 kB / 1.182 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001019/0.821, allocations: 1.003 MB / 1.183 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of Templates: time 0.01049/0.8315, allocations: 6.058 MB / 1.189 GB, free: 13.74 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches