Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_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.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001269/0.001269, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.343/2.343, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 69.36 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2229, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003269/0.2262, allocations: 2.424 MB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.228, allocations: 1.402 MB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2282, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.2287, allocations: 187 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2288, allocations: 63.52 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.2291, allocations: 107.8 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.2294, allocations: 318.7 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2295, allocations: 52.69 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.2297, allocations: 119.5 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.2299, allocations: 187.3 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.23, allocations: 20 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2301, allocations: 51.97 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2302, allocations: 119.7 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2304, allocations: 167 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.2308, allocations: 478.8 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2308, allocations: 0 / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.71e-07/0.2308, allocations: 0 / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2308, allocations: 4 kB / 1.058 GB, free: 2.52 MB / 0.8106 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.001115/0.2319, allocations: 0.7004 MB / 1.058 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.232, allocations: 15.97 kB / 1.058 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.232, allocations: 50.73 kB / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008089/0.2329, allocations: 140.3 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.2332, allocations: 354.2 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.249e-05/0.2333, allocations: 84.19 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2334, allocations: 12.38 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.2341, allocations: 303.9 kB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2341, allocations: 0 / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.2342, allocations: 4 kB / 1.059 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.2342, allocations: 4 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.2352, allocations: 420.3 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.2367, allocations: 0.8629 MB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.2373, allocations: 278.3 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.2378, allocations: 216.7 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.2378, allocations: 4 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2379, allocations: 34.56 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.2379, allocations: 0 / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001612/0.2395, allocations: 0.6429 MB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2395, allocations: 63.28 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.2399, allocations: 425.5 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.24, allocations: 29.7 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2401, allocations: 180.1 kB / 1.062 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.2402, allocations: 59.11 kB / 1.062 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2403, allocations: 37.7 kB / 1.062 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2404, allocations: 346.8 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.2409, allocations: 195.8 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.2414, allocations: 231.3 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009068/0.2423, allocations: 375.3 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2423, allocations: 0 / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001058/0.2434, allocations: 468.9 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2434, allocations: 4 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2434, allocations: 0 / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.2434, allocations: 0 / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.2439, allocations: 59.88 kB / 1.064 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2439, allocations: 3.984 kB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2442, allocations: 39.86 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.2442, allocations: 11.94 kB / 1.064 GB, free: 11.7 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.0001567/0.2444, allocations: 169.7 kB / 1.064 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.2445, allocations: 35.58 kB / 1.064 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.2445, allocations: 51.56 kB / 1.064 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2445, allocations: 7.938 kB / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2445, allocations: 4 kB / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2445, allocations: 0 / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.245, allocations: 474.9 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.245, allocations: 4 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.2454, allocations: 59.92 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2454, allocations: 0 / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.2455, allocations: 7.984 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2455, allocations: 7.938 kB / 1.065 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2455, allocations: 3.938 kB / 1.065 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2466, allocations: 0.5442 MB / 1.065 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.2467, allocations: 120.6 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.2467, allocations: 4 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.2471, allocations: 39.89 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.2472, allocations: 27.95 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2472, allocations: 4 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002871/0.2475, allocations: 311.1 kB / 1.066 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2475, allocations: 0 / 1.066 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003022/0.2478, allocations: 60 kB / 1.066 GB, free: 9.699 MB / 0.8262 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.001349/0.2492, allocations: 1.094 MB / 1.067 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.2502, allocations: 437.2 kB / 1.067 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2502, allocations: 0 / 1.067 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.2507, allocations: 231.8 kB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2511, allocations: 51.81 kB / 1.068 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.2571, allocations: 4.242 MB / 1.072 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2574, allocations: 0.795 MB / 1.073 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002646/0.2577, allocations: 66.25 kB / 1.073 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.2579, allocations: 103.4 kB / 1.073 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2579, allocations: 0 / 1.073 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.09/1.348, allocations: 7.478 MB / 1.08 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.348, allocations: 233.2 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/3.127, allocations: 4 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches