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.001779/0.001779, allocations: 107 kB / 16.41 MB, free: 5.984 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.0019/0.0019, allocations: 191.8 kB / 17.34 MB, free: 5.578 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.567/1.567, allocations: 222.9 MB / 241 MB, free: 15.1 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.642/2.642, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8771, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003712/0.8808, allocations: 2.391 MB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.8829, allocations: 1.395 MB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.8831, allocations: 4 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.8837, allocations: 203 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.8838, allocations: 79.28 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.8842, allocations: 123.7 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.8846, allocations: 326.7 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.8847, allocations: 52.66 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.8849, allocations: 123.5 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.8852, allocations: 191.3 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.8852, allocations: 36 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.8854, allocations: 63.97 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.8855, allocations: 123.6 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.8857, allocations: 171.1 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.8863, allocations: 0.4947 MB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8863, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8863, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.8863, 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.001316/0.8876, allocations: 0.7236 MB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.8877, allocations: 8.031 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.8885, allocations: 148.5 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.889, allocations: 350.6 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.8891, allocations: 88.12 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.8892, allocations: 12.38 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.8899, allocations: 299.4 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.89, allocations: 4 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.89, allocations: 4 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.89, allocations: 4 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.8912, allocations: 416.4 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.8929, allocations: 0.8742 MB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.8936, allocations: 266.4 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.8942, allocations: 220.7 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.8942, allocations: 0 / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.8943, allocations: 34.56 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.8943, allocations: 3.938 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001876/0.8962, allocations: 0.6487 MB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.8962, allocations: 59.34 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.8967, allocations: 421.6 kB / 1.177 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.8968, allocations: 29.7 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.8969, allocations: 192 kB / 1.178 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.897, allocations: 59.48 kB / 1.178 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.8971, allocations: 33.7 kB / 1.178 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8973, allocations: 346.8 kB / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.8979, allocations: 195.8 kB / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.8985, allocations: 231.3 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.8995, allocations: 372.5 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8995, allocations: 0 / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001242/0.9008, allocations: 467.4 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9008, allocations: 4 kB / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.9008, allocations: 0 / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.9008, allocations: 4 kB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.9013, allocations: 63.86 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9013, allocations: 7.938 kB / 1.179 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.9017, allocations: 35.91 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.9017, allocations: 11.98 kB / 1.179 GB, free: 7.293 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.000202/0.9019, allocations: 161.8 kB / 1.179 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/0.902, allocations: 39.7 kB / 1.179 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.9021, allocations: 43.58 kB / 1.18 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9021, allocations: 4 kB / 1.18 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.9021, allocations: 7.938 kB / 1.18 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9021, allocations: 0 / 1.18 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005858/0.9027, allocations: 474.9 kB / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.9027, allocations: 0 / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.9032, allocations: 71.86 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.9032, allocations: 48 / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.9032, allocations: 7.984 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9032, allocations: 0 / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9032, allocations: 3.938 kB / 1.18 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.9045, allocations: 0.5497 MB / 1.181 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.9047, allocations: 120.8 kB / 1.181 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.9047, allocations: 8 kB / 1.181 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.9051, allocations: 39.88 kB / 1.181 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.9052, allocations: 27.91 kB / 1.181 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.9052, allocations: 4 kB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003578/0.9056, allocations: 311.1 kB / 1.181 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9056, allocations: 0 / 1.181 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003376/0.906, allocations: 67.95 kB / 1.181 GB, free: 5.297 MB / 0.9044 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.0001438/0.9061, allocations: 99.25 kB / 1.181 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.9074, allocations: 441.7 kB / 1.182 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9074, allocations: 0 / 1.182 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006179/0.908, allocations: 231.8 kB / 1.182 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.9084, allocations: 54.03 kB / 1.182 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.9099, allocations: 0.6804 MB / 1.183 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.9104, allocations: 0.7909 MB / 1.183 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.9106, allocations: 58.27 kB / 1.183 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.9108, allocations: 27.44 kB / 1.183 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.9108, allocations: 0 / 1.183 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of Templates: time 0.009475/0.9203, allocations: 4.305 MB / 1.188 GB, free: 14.61 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 -s cvode -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