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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001115/0.001115, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.9 MB / 0.667 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7867, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002456/0.7892, allocations: 2.074 MB / 0.9577 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.791, allocations: 1.365 MB / 0.9591 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.7911, allocations: 2.938 kB / 0.9591 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.7917, allocations: 198.9 kB / 0.9593 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.7918, allocations: 64.05 kB / 0.9593 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.7921, allocations: 96.77 kB / 0.9594 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.7924, allocations: 320.2 kB / 0.9597 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.7925, allocations: 45 kB / 0.9598 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.7927, allocations: 119.1 kB / 0.9599 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.7929, allocations: 175.5 kB / 0.96 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.793, allocations: 19.5 kB / 0.9601 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.7931, allocations: 52.91 kB / 0.9601 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.7933, allocations: 111.5 kB / 0.9602 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.7934, allocations: 187.6 kB / 0.9604 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.7937, allocations: 379.2 kB / 0.9608 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7937, allocations: 1.031 kB / 0.9608 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7937, allocations: 0 / 0.9608 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7938, allocations: 0 / 0.9608 GB, free: 3.816 MB / 0.7169 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.001028/0.7948, allocations: 0.6602 MB / 0.9614 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7948, allocations: 9.625 kB / 0.9614 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.7957, allocations: 176.7 kB / 0.9616 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.7961, allocations: 353.4 kB / 0.9619 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.7962, allocations: 86.98 kB / 0.962 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.7963, allocations: 13.03 kB / 0.962 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.7971, allocations: 319.9 kB / 0.9623 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.7971, allocations: 0.8438 kB / 0.9623 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.7971, allocations: 4.844 kB / 0.9623 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7971, allocations: 3.031 kB / 0.9623 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.7983, allocations: 465.4 kB / 0.9628 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.7999, allocations: 0.8822 MB / 0.9636 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.8006, allocations: 300.4 kB / 0.9639 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.8011, allocations: 236 kB / 0.9641 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.8012, allocations: 2.125 kB / 0.9641 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.8012, allocations: 39.61 kB / 0.9642 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.665e-06/0.8012, allocations: 0 / 0.9642 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001799/0.803, allocations: 0.7113 MB / 0.9649 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.8031, allocations: 57.78 kB / 0.9649 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.8035, allocations: 425.6 kB / 0.9653 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.8036, allocations: 30.89 kB / 0.9654 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.8037, allocations: 177.5 kB / 0.9655 GB, free: 444 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.8038, allocations: 58.8 kB / 0.9656 GB, free: 392 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.8038, allocations: 22.2 kB / 0.9656 GB, free: 368 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.8039, allocations: 352.7 kB / 0.966 GB, free: 16 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.8045, allocations: 214.8 kB / 0.9662 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.8052, allocations: 255.8 kB / 0.9664 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.8064, allocations: 414.6 kB / 0.9668 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8064, allocations: 0 / 0.9668 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001369/0.8078, allocations: 0.4931 MB / 0.9673 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.8078, allocations: 9.531 kB / 0.9673 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8078, allocations: 0 / 0.9673 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8078, allocations: 1.188 kB / 0.9673 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.8084, allocations: 77.08 kB / 0.9674 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.8084, allocations: 4.938 kB / 0.9674 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.8088, allocations: 60.16 kB / 0.9674 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.8088, allocations: 4.031 kB / 0.9674 GB, free: 15.25 MB / 0.7325 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.0002252/0.809, allocations: 161.1 kB / 0.9676 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.8091, allocations: 32.19 kB / 0.9676 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.99e-05/0.8092, allocations: 43.97 kB / 0.9677 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.8092, allocations: 1.781 kB / 0.9677 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.8093, allocations: 4.656 kB / 0.9677 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8093, allocations: 3.984 kB / 0.9677 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.8099, allocations: 475.7 kB / 0.9681 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8099, allocations: 0 / 0.9681 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.8103, allocations: 84.14 kB / 0.9682 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8104, allocations: 1.062 kB / 0.9682 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.8104, allocations: 6.234 kB / 0.9682 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.8104, allocations: 1.094 kB / 0.9682 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8104, allocations: 3.938 kB / 0.9682 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.8118, allocations: 0.5952 MB / 0.9688 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.8119, allocations: 115.9 kB / 0.9689 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.812, allocations: 9.219 kB / 0.9689 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.8123, allocations: 45.89 kB / 0.969 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.8125, allocations: 30.25 kB / 0.969 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.8125, allocations: 7.953 kB / 0.969 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003728/0.8129, allocations: 310.5 kB / 0.9693 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8129, allocations: 1.25 kB / 0.9693 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003453/0.8132, allocations: 61.19 kB / 0.9693 GB, free: 13.86 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001611/0.8134, allocations: 104.9 kB / 0.9694 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.8147, allocations: 484.6 kB / 0.9699 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8147, allocations: 1 kB / 0.9699 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/0.8154, allocations: 248.6 kB / 0.9701 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.8158, allocations: 40.83 kB / 0.9702 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.8174, allocations: 0.8294 MB / 0.971 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.8178, allocations: 0.7978 MB / 0.9718 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.8181, allocations: 30.61 kB / 0.9718 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.8181, allocations: 1.219 kB / 0.9718 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.009157/0.8272, allocations: 4.913 MB / 0.9766 GB, free: 9.535 MB / 0.7325 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