Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_9_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_9_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.001438/0.001438, allocations: 115.8 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.00167/0.00167, allocations: 189.6 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.318/1.318, 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 9.1.3-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001683, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.8868, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003078/0.8899, allocations: 2.382 MB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.8915, allocations: 1.391 MB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.8917, allocations: 6.594 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.8922, allocations: 205.6 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.8923, allocations: 76.62 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.8926, allocations: 124.7 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.893, allocations: 327.2 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.8931, allocations: 55.23 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.8933, allocations: 129.2 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.8936, allocations: 185.8 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.8936, allocations: 31.97 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.8938, allocations: 68.81 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.8939, allocations: 121.5 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.8941, allocations: 176.5 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.8946, allocations: 496.8 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8946, allocations: 1.125 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8946, allocations: 7.938 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8947, allocations: 0 / 1.094 GB, free: 1.941 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001164/0.8958, allocations: 0.7044 MB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.8959, allocations: 8.625 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.8968, allocations: 145.8 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.8972, allocations: 354 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.8973, allocations: 84.98 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.8974, allocations: 12.31 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.8982, allocations: 302.5 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8982, allocations: 4 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.8982, allocations: 5.25 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.8982, allocations: 3 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.8994, allocations: 411.9 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.901, allocations: 0.8573 MB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.9017, allocations: 276.7 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/0.9023, allocations: 213.4 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.9024, allocations: 2.516 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.9024, allocations: 32.59 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.9024, allocations: 0 / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001939/0.9044, allocations: 0.6474 MB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.9044, allocations: 62.11 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.9049, allocations: 425.4 kB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.905, allocations: 30.8 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.9051, allocations: 175.9 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.9052, allocations: 64.03 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.9053, allocations: 36.83 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9055, allocations: 349.2 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.906, allocations: 201.5 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.9066, allocations: 227.7 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.9077, allocations: 373.4 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9077, allocations: 3.938 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001248/0.909, allocations: 458.7 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.909, allocations: 8.078 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.909, allocations: 1.438 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.909, allocations: 0 / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.9095, allocations: 66.69 kB / 1.101 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9096, allocations: 9 kB / 1.101 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.9099, allocations: 44.69 kB / 1.101 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.9099, allocations: 5.109 kB / 1.101 GB, free: 14.37 MB / 0.8731 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.0001976/0.9101, allocations: 160.5 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.9102, allocations: 40.16 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.9103, allocations: 44.48 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9103, allocations: 6.312 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9103, allocations: 4 kB / 1.101 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.9104, allocations: 122.9 kB / 1.101 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.9105, allocations: 1.859 kB / 1.101 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.9109, allocations: 33.64 kB / 1.101 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.911, allocations: 22.05 kB / 1.101 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00157/0.9126, allocations: 0.5379 MB / 1.102 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001404/0.914, allocations: 0.6406 MB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006575/0.9147, allocations: 217.2 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004638/0.9151, allocations: 314.5 kB / 1.103 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of Backend: time 3e-07/0.9151, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.9163, allocations: 320.1 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001104/0.9174, allocations: 1.005 MB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.01163/0.9291, allocations: 6.059 MB / 1.11 GB, free: 11.88 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches