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.001472/0.001472, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001511/0.001511, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.495/2.495, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 60.31 kB / 0.8699 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3259, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003681/0.3296, allocations: 2.386 MB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3317, allocations: 1.399 MB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.3318, allocations: 4 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.3324, allocations: 202.8 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3326, allocations: 75.34 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.3329, allocations: 123.7 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.3332, allocations: 330.7 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3333, allocations: 44.72 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3335, allocations: 131.5 kB / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.3338, allocations: 187.4 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.3339, allocations: 32 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.334, allocations: 63.97 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3342, allocations: 123.6 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.3343, allocations: 183 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.3348, allocations: 482.8 kB / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3348, allocations: 0 / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3348, allocations: 0 / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3348, allocations: 0 / 1.024 GB, free: 4.926 MB / 0.795 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.001174/0.336, allocations: 0.7061 MB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.336, allocations: 8.031 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/0.3369, allocations: 144.3 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.3373, allocations: 354.2 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3374, allocations: 88.17 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.3375, allocations: 12.38 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000705/0.3382, allocations: 304.3 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3382, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.3382, allocations: 7.938 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.3383, allocations: 4 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.3393, allocations: 420.4 kB / 1.026 GB, free: 2.805 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3409, allocations: 0.8628 MB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.3415, allocations: 274.4 kB / 1.027 GB, free: 1.617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.342, allocations: 208.7 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3421, allocations: 8 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3421, allocations: 34.56 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.3421, allocations: 0 / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.001737/0.3439, allocations: 0.652 MB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3439, allocations: 59.34 kB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.3443, allocations: 425.6 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3444, allocations: 25.7 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3445, allocations: 180 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.3446, allocations: 59.11 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3447, allocations: 49.69 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3448, allocations: 346.8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.3454, allocations: 191.8 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.3459, allocations: 235.3 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.3469, allocations: 370.9 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3469, allocations: 0 / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001134/0.348, allocations: 464.8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3481, allocations: 4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3481, allocations: 4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3481, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.3486, allocations: 67.86 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3486, allocations: 3.938 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.3489, allocations: 43.84 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.349, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 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.0001855/0.3491, allocations: 172.2 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.3492, allocations: 35.53 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.3493, allocations: 39.59 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3493, allocations: 4 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3493, allocations: 3.984 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3493, allocations: 7.969 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3498, allocations: 470.9 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3499, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.3503, allocations: 67.86 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3503, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.3503, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3503, allocations: 7.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3503, allocations: 3.938 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.3515, allocations: 0.5517 MB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.3516, allocations: 124.5 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.3517, allocations: 0 / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.352, allocations: 31.95 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3521, allocations: 31.91 kB / 1.031 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3521, allocations: 11.98 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002962/0.3524, allocations: 307.1 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3524, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003109/0.3528, allocations: 60 kB / 1.032 GB, free: 12.16 MB / 0.8106 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.0001456/0.3529, allocations: 107.2 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.3541, allocations: 447.5 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3541, allocations: 0 / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.3546, allocations: 227.8 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3551, allocations: 49.55 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3564, allocations: 0.7202 MB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3568, allocations: 0.7909 MB / 1.034 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.357, allocations: 27.42 kB / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.357, allocations: 4 kB / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of Templates: time 0.007564/0.3646, allocations: 4.951 MB / 1.039 GB, free: 4.824 MB / 0.8106 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 -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