Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_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_latest_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.001791/0.001791, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001945/0.001946, allocations: 189.6 kB / 17.35 MB, free: 5.742 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.838/1.838, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.208/3.208, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 71.88 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.005149/1.19, allocations: 2.396 MB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002846/1.193, allocations: 1.398 MB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/1.193, allocations: 4 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000905/1.194, allocations: 198.9 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/1.195, allocations: 79.34 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/1.195, allocations: 119.7 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005115/1.196, allocations: 330.7 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/1.196, allocations: 52.7 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/1.196, allocations: 127.5 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/1.197, allocations: 183.4 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/1.197, allocations: 35.94 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/1.197, allocations: 67.97 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/1.197, allocations: 127.6 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/1.197, allocations: 171.1 kB / 1.214 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007641/1.198, allocations: 496.1 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.198, allocations: 0 / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/1.198, allocations: 0 / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.198, allocations: 0 / 1.214 GB, free: 7.902 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001739/1.2, allocations: 0.7043 MB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.2, allocations: 11.97 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/1.201, allocations: 144.3 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/1.202, allocations: 358.2 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.202, allocations: 80.19 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/1.202, allocations: 12.38 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.203, allocations: 307.3 kB / 1.216 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.203, allocations: 0 / 1.216 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/1.204, allocations: 4 kB / 1.216 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.204, allocations: 4 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/1.205, allocations: 420.4 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/1.208, allocations: 0.851 MB / 1.217 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/1.209, allocations: 274.4 kB / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008496/1.21, allocations: 216.7 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/1.21, allocations: 4 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.21, allocations: 42.5 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/1.21, allocations: 0 / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.002792/1.213, allocations: 0.6476 MB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.213, allocations: 55.41 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/1.214, allocations: 429.6 kB / 1.218 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/1.214, allocations: 29.7 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/1.214, allocations: 176.1 kB / 1.219 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-05/1.214, allocations: 59.11 kB / 1.219 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.214, allocations: 45.69 kB / 1.219 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.214, allocations: 342.8 kB / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/1.215, allocations: 199.8 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/1.216, allocations: 223.3 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/1.218, allocations: 374.4 kB / 1.22 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.218, allocations: 0 / 1.22 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001899/1.22, allocations: 464.9 kB / 1.22 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.22, allocations: 4 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.22, allocations: 4 kB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.22, allocations: 4 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/1.22, allocations: 55.92 kB / 1.22 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.22, allocations: 7.938 kB / 1.22 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/1.221, allocations: 39.8 kB / 1.22 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/1.221, allocations: 7.984 kB / 1.22 GB, free: 1.148 MB / 0.9356 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.0003088/1.221, allocations: 169.8 kB / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.222, allocations: 39.52 kB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/1.222, allocations: 39.59 kB / 1.221 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.222, allocations: 4 kB / 1.221 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.222, allocations: 4 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/1.222, allocations: 120.5 kB / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.222, allocations: 8 kB / 1.221 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/1.223, allocations: 31.95 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.223, allocations: 23.97 kB / 1.221 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002294/1.225, allocations: 0.5456 MB / 1.221 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002039/1.227, allocations: 0.6269 MB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008862/1.228, allocations: 229.4 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000533/1.229, allocations: 311.1 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of Backend: time 5.51e-07/1.229, allocations: 0 / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.23, allocations: 330.2 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001767/1.232, allocations: 0.9922 MB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of Templates: time 0.0178/1.25, allocations: 6.248 MB / 1.23 GB, free: 7.406 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches