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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001115/0.001115, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001251/0.001251, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 62.27 kB / 0.8132 GB, free: 32.92 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2819, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004146/0.286, allocations: 2.367 MB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.2883, allocations: 1.406 MB / 0.954 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.2886, allocations: 4 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.2893, allocations: 206.8 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.2896, allocations: 75.34 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.29, allocations: 123.7 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.2904, allocations: 322.8 kB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2906, allocations: 48.7 kB / 0.9547 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.2909, allocations: 135.5 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.2912, allocations: 187.4 kB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.2913, allocations: 28 kB / 0.955 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.2914, allocations: 71.97 kB / 0.9551 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.2916, allocations: 123.6 kB / 0.9552 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.2918, allocations: 175.1 kB / 0.9554 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.2923, allocations: 486.7 kB / 0.9558 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.2924, allocations: 0 / 0.9558 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2924, allocations: 7.938 kB / 0.9559 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.2924, allocations: 0 / 0.9559 GB, free: 3.117 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.00149/0.2939, allocations: 0.7043 MB / 0.9565 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2939, allocations: 8.031 kB / 0.9566 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009402/0.2949, allocations: 144.3 kB / 0.9567 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.2954, allocations: 354.2 kB / 0.957 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.2955, allocations: 84.19 kB / 0.9571 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.2956, allocations: 12.38 kB / 0.9571 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.2963, allocations: 299.4 kB / 0.9574 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2964, allocations: 3.984 kB / 0.9574 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.2964, allocations: 4 kB / 0.9574 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2964, allocations: 4 kB / 0.9574 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2975, allocations: 416.4 kB / 0.9578 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.2992, allocations: 0.8556 MB / 0.9587 GB, free: 96 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/0.2999, allocations: 274.3 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.3005, allocations: 216.7 kB / 0.9591 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.3005, allocations: 11.98 kB / 0.9591 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3006, allocations: 34.56 kB / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 3.266e-06/0.3006, allocations: 0 / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001794/0.3024, allocations: 0.6481 MB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.3024, allocations: 55.34 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.3029, allocations: 429.6 kB / 0.9603 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3029, allocations: 29.64 kB / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.3031, allocations: 180 kB / 0.9605 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.3031, allocations: 63.09 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3033, allocations: 45.7 kB / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3034, allocations: 346.8 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.3039, allocations: 195.8 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.3045, allocations: 227.3 kB / 0.9613 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/0.3055, allocations: 370.9 kB / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3055, allocations: 4 kB / 0.9617 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001187/0.3067, allocations: 456.9 kB / 0.9621 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3067, allocations: 8 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3068, allocations: 7.922 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3068, allocations: 4 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.3073, allocations: 59.88 kB / 0.9622 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3073, allocations: 3.938 kB / 0.9622 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.3076, allocations: 43.84 kB / 0.9622 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.3077, allocations: 4 kB / 0.9622 GB, free: 12.35 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.0001888/0.3079, allocations: 171.8 kB / 0.9624 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.3079, allocations: 31.62 kB / 0.9624 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.308, allocations: 43.59 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.308, allocations: 0 / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3081, allocations: 7.922 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3081, allocations: 4 kB / 0.9625 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.3086, allocations: 478.7 kB / 0.9629 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3086, allocations: 0 / 0.9629 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.309, allocations: 59.86 kB / 0.963 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3091, allocations: 8 kB / 0.963 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.3091, allocations: 7.984 kB / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3091, allocations: 0 / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3091, allocations: 3.938 kB / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3103, allocations: 0.556 MB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.3104, allocations: 120.6 kB / 0.9637 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.3105, allocations: 0 / 0.9637 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.3108, allocations: 31.95 kB / 0.9637 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.311, allocations: 35.84 kB / 0.9637 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.311, allocations: 7.984 kB / 0.9637 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000311/0.3113, allocations: 307.1 kB / 0.964 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3113, allocations: 3.938 kB / 0.964 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003248/0.3116, allocations: 60 kB / 0.9641 GB, free: 10.35 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.0001341/0.3118, allocations: 107.2 kB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.313, allocations: 447.5 kB / 0.9646 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.313, allocations: 0 / 0.9646 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.3135, allocations: 231.7 kB / 0.9648 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.314, allocations: 57.22 kB / 0.9649 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3154, allocations: 0.714 MB / 0.9656 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3158, allocations: 0.7909 MB / 0.9664 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.316, allocations: 27.42 kB / 0.9664 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.316, allocations: 0 / 0.9664 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.0087/0.3247, allocations: 4.947 MB / 0.9712 GB, free: 3.012 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 -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