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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001751/0.001751, allocations: 100.1 kB / 15.88 MB, free: 12 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.002009/0.002009, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 69.78 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00448/0.327, allocations: 2.442 MB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.3296, allocations: 1.39 MB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.3299, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.3308, allocations: 191 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.3311, allocations: 71.47 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.3315, allocations: 95.84 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.3321, allocations: 322.7 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3323, allocations: 48.72 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.3326, allocations: 127.5 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.3329, allocations: 183.3 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.484e-05/0.333, allocations: 20 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.3332, allocations: 55.97 kB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3334, allocations: 111.7 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.3336, allocations: 175 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.334, allocations: 375.4 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.334, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.334, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.334, allocations: 4 kB / 1.058 GB, free: 2.707 MB / 0.8106 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.001375/0.3354, allocations: 0.6966 MB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3355, allocations: 15.97 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.3364, allocations: 144.3 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.3369, allocations: 354.2 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.337, allocations: 88.12 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.337, allocations: 8.375 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.3378, allocations: 307.4 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3378, allocations: 0 / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.3378, allocations: 4 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3378, allocations: 4 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.3389, allocations: 416.4 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.3406, allocations: 0.8629 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.3413, allocations: 262.4 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.3418, allocations: 216.7 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3418, allocations: 8 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3419, allocations: 34.56 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.3419, allocations: 3.938 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001748/0.3436, allocations: 0.6471 MB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3437, allocations: 55.34 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.3442, allocations: 425.6 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.3442, allocations: 29.7 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3444, allocations: 183.9 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.3444, allocations: 63.11 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3446, allocations: 37.7 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3447, allocations: 346.8 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.3452, allocations: 195.8 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.3458, allocations: 231.3 kB / 1.064 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.3467, allocations: 373.7 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3467, allocations: 0 / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001162/0.3479, allocations: 467 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3479, allocations: 12 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3479, allocations: 0 / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.348, allocations: 0 / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.3484, allocations: 67.8 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3484, allocations: 3.938 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3488, allocations: 39.86 kB / 1.065 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.3488, allocations: 7.984 kB / 1.065 GB, free: 11.94 MB / 0.8262 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.0001886/0.349, allocations: 165.8 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.3491, allocations: 39.53 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.3492, allocations: 43.58 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3492, allocations: 0 / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3492, allocations: 3.938 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3492, allocations: 0 / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.3497, allocations: 482.8 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3498, allocations: 4 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.3502, allocations: 59.88 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3502, allocations: 7.984 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.3502, allocations: 4 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3502, allocations: 0 / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3502, allocations: 3.938 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3514, allocations: 0.5475 MB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.3515, allocations: 124.6 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.3516, allocations: 0 / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.3519, allocations: 39.83 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.352, allocations: 31.89 kB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.3521, allocations: 4 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003162/0.3524, allocations: 315.1 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3524, allocations: 0 / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003217/0.3527, allocations: 60 kB / 1.066 GB, free: 9.941 MB / 0.8262 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.0001517/0.3529, allocations: 103.2 kB / 1.067 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.354, allocations: 435.5 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.354, allocations: 0 / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.3546, allocations: 231.8 kB / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.355, allocations: 49.47 kB / 1.067 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3565, allocations: 0.7874 MB / 1.068 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3568, allocations: 0.7911 MB / 1.069 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.357, allocations: 31.41 kB / 1.069 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.357, allocations: 0 / 1.069 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.006994/0.364, allocations: 4.941 MB / 1.074 GB, free: 2.562 MB / 0.8262 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