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.001788/0.001788, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.002059/0.00206, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 62.25 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2409, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003453/0.2444, allocations: 2.376 MB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.2463, allocations: 1.399 MB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2464, allocations: 4 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.2469, allocations: 198.9 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.247, allocations: 79.28 kB / 0.9551 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2473, allocations: 123.7 kB / 0.9552 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.2477, allocations: 326.8 kB / 0.9555 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2478, allocations: 56.7 kB / 0.9556 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.248, allocations: 123.6 kB / 0.9557 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.2482, allocations: 191.3 kB / 0.9559 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.2483, allocations: 28 kB / 0.9559 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2484, allocations: 71.91 kB / 0.956 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.2486, allocations: 119.7 kB / 0.9561 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2487, allocations: 171 kB / 0.9562 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.2492, allocations: 0.4945 MB / 0.9567 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2492, allocations: 0 / 0.9567 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2492, allocations: 0 / 0.9567 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2492, allocations: 0 / 0.9567 GB, free: 2.301 MB / 0.7325 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.001176/0.2504, allocations: 0.7014 MB / 0.9574 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2504, allocations: 12.03 kB / 0.9574 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007826/0.2512, allocations: 140.3 kB / 0.9575 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.2517, allocations: 362.1 kB / 0.9579 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.2518, allocations: 84.19 kB / 0.958 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.2518, allocations: 12.38 kB / 0.958 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.2525, allocations: 299.4 kB / 0.9583 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2525, allocations: 0 / 0.9583 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2526, allocations: 4 kB / 0.9583 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2526, allocations: 4 kB / 0.9583 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2536, allocations: 416.4 kB / 0.9587 GB, free: 192 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.2551, allocations: 0.8675 MB / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.2557, allocations: 266.3 kB / 0.9598 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.2562, allocations: 220.7 kB / 0.96 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.2563, allocations: 4 kB / 0.96 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2563, allocations: 34.5 kB / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.2563, allocations: 4 kB / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001635/0.258, allocations: 0.644 MB / 0.9607 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.258, allocations: 59.34 kB / 0.9607 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.2585, allocations: 421.6 kB / 0.9611 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.2585, allocations: 33.7 kB / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2586, allocations: 183.9 kB / 0.9613 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.2587, allocations: 59.11 kB / 0.9614 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2588, allocations: 33.7 kB / 0.9614 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.259, allocations: 354.8 kB / 0.9617 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.2595, allocations: 195.8 kB / 0.9619 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.26, allocations: 231.2 kB / 0.9622 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.2609, allocations: 367.3 kB / 0.9625 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2609, allocations: 0 / 0.9625 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0011/0.262, allocations: 464.8 kB / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2621, allocations: 8 kB / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2621, allocations: 0 / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2621, allocations: 0 / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.2625, allocations: 67.86 kB / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2625, allocations: 3.938 kB / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.2629, allocations: 39.86 kB / 0.9631 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.2629, allocations: 11.98 kB / 0.9631 GB, free: 11.54 MB / 0.7481 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.000167/0.2631, allocations: 159.8 kB / 0.9632 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.2632, allocations: 31.62 kB / 0.9633 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.2632, allocations: 51.61 kB / 0.9633 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2632, allocations: 0 / 0.9633 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2632, allocations: 7.875 kB / 0.9633 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2633, allocations: 4 kB / 0.9633 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.2638, allocations: 478.7 kB / 0.9638 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2638, allocations: 0 / 0.9638 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.2642, allocations: 63.81 kB / 0.9638 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.2642, allocations: 7.984 kB / 0.9638 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.2642, allocations: 8 kB / 0.9639 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2642, allocations: 0 / 0.9639 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2642, allocations: 3.938 kB / 0.9639 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.2654, allocations: 0.5599 MB / 0.9644 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2655, allocations: 120.6 kB / 0.9645 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.2656, allocations: 4 kB / 0.9645 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.2659, allocations: 27.95 kB / 0.9645 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.266, allocations: 35.89 kB / 0.9646 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.266, allocations: 0 / 0.9646 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003123/0.2664, allocations: 311.1 kB / 0.9649 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2664, allocations: 4 kB / 0.9649 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003279/0.2667, allocations: 64 kB / 0.9649 GB, free: 9.531 MB / 0.7481 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.0001435/0.2669, allocations: 99.25 kB / 0.965 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.268, allocations: 439.5 kB / 0.9655 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.268, allocations: 0 / 0.9655 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.2686, allocations: 223.8 kB / 0.9657 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.269, allocations: 49.53 kB / 0.9657 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2702, allocations: 0.6694 MB / 0.9664 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2706, allocations: 0.7986 MB / 0.9672 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.2708, allocations: 58.27 kB / 0.9672 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.271, allocations: 31.36 kB / 0.9672 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.271, allocations: 0 / 0.9672 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of Templates: time 0.007693/0.2787, allocations: 4.257 MB / 0.9714 GB, free: 2.906 MB / 0.7481 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 -s cvode -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