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.002016/0.002016, 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.002252/0.002252, 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.454/1.454, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.518/2.518, allocations: 437 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.86 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004048/0.3322, allocations: 2.392 MB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3344, allocations: 1.399 MB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3345, allocations: 8 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.3352, allocations: 194.9 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.3353, allocations: 71.34 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.3357, allocations: 131.7 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.3361, allocations: 322.8 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3362, allocations: 48.72 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.3364, allocations: 131.5 kB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.3367, allocations: 183.4 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.3368, allocations: 32 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3369, allocations: 67.97 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3371, allocations: 127.6 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3373, allocations: 179 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.3378, allocations: 482.8 kB / 1.024 GB, free: 4.891 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3378, allocations: 0 / 1.024 GB, free: 4.891 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3378, allocations: 0 / 1.024 GB, free: 4.891 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3378, allocations: 4 kB / 1.024 GB, free: 4.887 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.00131/0.3391, allocations: 0.7023 MB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3392, allocations: 12.03 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009168/0.3401, allocations: 148.3 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.3406, allocations: 350.2 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.3407, allocations: 84.17 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.3408, allocations: 16.38 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.3416, allocations: 300.3 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3416, allocations: 0 / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.3416, allocations: 11.94 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3416, allocations: 7.984 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3428, allocations: 408.4 kB / 1.026 GB, free: 2.773 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.3445, allocations: 0.8667 MB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.3452, allocations: 278.4 kB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.3458, allocations: 212.7 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3458, allocations: 7.938 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3458, allocations: 34.55 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.3458, allocations: 4 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.001857/0.3477, allocations: 0.6456 MB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3478, allocations: 55.34 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.3482, allocations: 421.6 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.3483, allocations: 33.7 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3485, allocations: 180 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.3486, allocations: 63.09 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3487, allocations: 33.7 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3488, allocations: 350.8 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.3494, allocations: 199.8 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.35, allocations: 237.5 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.351, allocations: 364.6 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.351, allocations: 0 / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001226/0.3523, allocations: 463.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3523, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3523, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.3523, allocations: 3.984 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.3528, allocations: 67.88 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.3528, allocations: 3.938 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.3532, allocations: 43.84 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3532, allocations: 4 kB / 1.03 GB, free: 14.12 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.0001909/0.3534, allocations: 161.8 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.3535, allocations: 39.53 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.3536, allocations: 43.59 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3536, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3536, allocations: 7.875 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3536, allocations: 3.984 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.3542, allocations: 474.8 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3542, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.3546, allocations: 59.92 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3546, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.3547, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3547, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3547, allocations: 3.938 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.356, allocations: 0.5534 MB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3561, allocations: 124.5 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.3561, allocations: 4 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.3565, allocations: 31.95 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3566, allocations: 23.91 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3566, allocations: 7.984 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003405/0.357, allocations: 307.1 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.357, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003154/0.3573, allocations: 68 kB / 1.032 GB, free: 12.12 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.0001523/0.3575, allocations: 107.2 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.3587, allocations: 449.7 kB / 1.032 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3587, allocations: 3.938 kB / 1.032 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.3593, allocations: 223.8 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.3597, allocations: 45.55 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3612, allocations: 0.7178 MB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3616, allocations: 0.7909 MB / 1.034 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3618, allocations: 31.42 kB / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/0.3618, allocations: 0 / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of Templates: time 0.008131/0.37, allocations: 4.958 MB / 1.039 GB, free: 4.785 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=400 -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