Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 108 kB / 15.6 MB, free: 132 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.001673/0.001673, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.597/2.597, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 64.78 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2432, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003574/0.2468, allocations: 2.381 MB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2488, allocations: 1.398 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2489, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.2495, allocations: 206.9 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.2496, allocations: 67.34 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2499, allocations: 127.7 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.2503, allocations: 330.7 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2504, allocations: 48.7 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.2506, allocations: 127.5 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.2509, allocations: 187.3 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.2509, allocations: 32 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2511, allocations: 71.95 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2512, allocations: 119.6 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2514, allocations: 179 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.2518, allocations: 482.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2518, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2519, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2519, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 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.00118/0.253, allocations: 0.7083 MB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2531, allocations: 8.031 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.2532, allocations: 54.73 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.254, allocations: 140.3 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.2544, allocations: 358.2 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.2545, allocations: 80.19 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.2546, allocations: 12.38 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.2553, allocations: 300.4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2553, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.2553, allocations: 8 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2553, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2564, allocations: 428.3 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.2579, allocations: 0.855 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.2586, allocations: 274.4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.2591, allocations: 216.7 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2591, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2592, allocations: 42.56 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.2592, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001706/0.2609, allocations: 0.6431 MB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2609, allocations: 63.28 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.2614, allocations: 425.6 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.2614, allocations: 25.7 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2615, allocations: 180.1 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/0.2616, allocations: 59.11 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2617, allocations: 45.64 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.2619, allocations: 350.8 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.2624, allocations: 191.8 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.2629, allocations: 227.3 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.264, allocations: 370.2 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.264, allocations: 7.938 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001129/0.2651, allocations: 466.9 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2651, allocations: 4 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2651, allocations: 0 / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2652, allocations: 8 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.2656, allocations: 59.86 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2656, allocations: 4 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.2659, allocations: 35.86 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.2659, allocations: 7.984 kB / 1.076 GB, free: 1.652 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.0001751/0.2661, allocations: 173.7 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.2662, allocations: 35.53 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.2663, allocations: 43.58 kB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2663, allocations: 7.938 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2663, allocations: 0 / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2663, allocations: 48 / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.2668, allocations: 482.9 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2668, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.2672, allocations: 59.92 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2672, allocations: 4 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.2673, allocations: 8 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2673, allocations: 3.938 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2673, allocations: 3.938 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.2684, allocations: 0.5535 MB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.2685, allocations: 116.6 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.2686, allocations: 4 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.2689, allocations: 39.88 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.269, allocations: 23.97 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.269, allocations: 8 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003198/0.2694, allocations: 311.1 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2694, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002948/0.2697, allocations: 64 kB / 1.078 GB, free: 15.64 MB / 0.8419 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.001923/0.2716, allocations: 1.101 MB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.2728, allocations: 445 kB / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2728, allocations: 0 / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.2733, allocations: 227.7 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.2737, allocations: 57.36 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.28, allocations: 4.183 MB / 1.084 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2804, allocations: 0.7948 MB / 1.085 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.2807, allocations: 58.27 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.2809, allocations: 103.4 kB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.2809, allocations: 4 kB / 1.085 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3724/0.6533, allocations: 7.825 MB / 1.092 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.587, allocations: 1.75 kB / 1.092 GB, free: 0.9141 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches