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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8573/0.8573, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.698/1.698, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 3.938 kB / 0.9997 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.206e-05, allocations: 6.281 kB / 0.9997 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002596/0.002618, allocations: 2.291 MB / 1.002 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.004292, allocations: 1.343 MB / 1.003 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.004459, allocations: 7.938 kB / 1.003 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.004983, allocations: 182.8 kB / 1.003 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.005109, allocations: 79.28 kB / 1.003 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.005451, allocations: 139.6 kB / 1.004 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.005767, allocations: 342.6 kB / 1.004 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.00588, allocations: 36.86 kB / 1.004 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.006144, allocations: 191.6 kB / 1.004 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.006354, allocations: 163.6 kB / 1.004 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.006395, allocations: 32 kB / 1.004 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.006509, allocations: 67.97 kB / 1.004 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.006606, allocations: 127.6 kB / 1.005 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.006695, allocations: 111.7 kB / 1.005 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.007164, allocations: 0.5141 MB / 1.005 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.007168, allocations: 0 / 1.005 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.224e-06/0.00717, allocations: 0 / 1.005 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.007177, allocations: 0 / 1.005 GB, free: 6.766 MB / 0.9167 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.00102/0.008197, allocations: 0.6405 MB / 1.006 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.008246, allocations: 12.75 kB / 1.006 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.008298, allocations: 50.73 kB / 1.006 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006043/0.008903, allocations: 176.5 kB / 1.006 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.009292, allocations: 315.9 kB / 1.006 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.009418, allocations: 191 kB / 1.006 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.009448, allocations: 16.38 kB / 1.006 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.009909, allocations: 292.8 kB / 1.007 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.009917, allocations: 192 / 1.007 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.009939, allocations: 3.938 kB / 1.007 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.009946, allocations: 8 kB / 1.007 GB, free: 4.977 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.01058, allocations: 424.3 kB / 1.007 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01167, allocations: 0.7501 MB / 1.008 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.01208, allocations: 258.4 kB / 1.008 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.01239, allocations: 209 kB / 1.008 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.01242, allocations: 7.906 kB / 1.008 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.01244, allocations: 34.56 kB / 1.008 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.01244, allocations: 0 / 1.008 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001062/0.0135, allocations: 0.6473 MB / 1.009 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.01354, allocations: 59.39 kB / 1.009 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.01386, allocations: 433.6 kB / 1.009 GB, free: 2.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.01389, allocations: 25.7 kB / 1.01 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01399, allocations: 176.1 kB / 1.01 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.01403, allocations: 63.42 kB / 1.01 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.01411, allocations: 45.59 kB / 1.01 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.01421, allocations: 350.7 kB / 1.01 GB, free: 1.418 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.0145, allocations: 195.9 kB / 1.01 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.01483, allocations: 304.4 kB / 1.011 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.01537, allocations: 370.6 kB / 1.011 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01537, allocations: 3.938 kB / 1.011 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006482/0.01602, allocations: 471.4 kB / 1.011 GB, free: 68 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01603, allocations: 4 kB / 1.011 GB, free: 64 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01604, allocations: 0 / 1.011 GB, free: 64 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01605, allocations: 4 kB / 1.011 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.01631, allocations: 63.97 kB / 1.011 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01631, allocations: 3.984 kB / 1.011 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.01647, allocations: 51.72 kB / 1.012 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01648, allocations: 4 kB / 1.012 GB, free: 15.94 MB / 0.9323 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.0001354/0.01662, allocations: 165.8 kB / 1.012 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.01666, allocations: 39.77 kB / 1.012 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.01671, allocations: 39.53 kB / 1.012 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01671, allocations: 0 / 1.012 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01671, allocations: 0 / 1.012 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01672, allocations: 3.984 kB / 1.012 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.01705, allocations: 378.3 kB / 1.012 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01705, allocations: 0 / 1.012 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.01724, allocations: 63.92 kB / 1.012 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01725, allocations: 0 / 1.012 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.01726, allocations: 3.984 kB / 1.012 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.01727, allocations: 7.938 kB / 1.012 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01727, allocations: 0 / 1.012 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.01796, allocations: 0.5574 MB / 1.013 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.018, allocations: 47.72 kB / 1.013 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.01804, allocations: 8 kB / 1.013 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.0182, allocations: 27.95 kB / 1.013 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.01827, allocations: 31.89 kB / 1.013 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.01828, allocations: 12 kB / 1.013 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002171/0.0185, allocations: 315.1 kB / 1.013 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.0185, allocations: 0 / 1.013 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000227/0.01873, allocations: 64 kB / 1.013 GB, free: 14.13 MB / 0.9323 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.0009349/0.01966, allocations: 1.097 MB / 1.014 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006874/0.02035, allocations: 423.5 kB / 1.015 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02035, allocations: 4 kB / 1.015 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.02066, allocations: 217.7 kB / 1.015 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.02098, allocations: 46.97 kB / 1.015 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.02533, allocations: 4.183 MB / 1.019 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.02546, allocations: 183.5 kB / 1.019 GB, free: 7.879 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000176/0.02563, allocations: 62.27 kB / 1.019 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.0258, allocations: 108.5 kB / 1.019 GB, free: 7.711 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/0.0258, allocations: 0 / 1.019 GB, free: 7.711 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3792/0.405, allocations: 9.04 MB / 1.028 GB, free: 38.25 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/7.095, allocations: 8.281 kB / 1.028 GB, free: 38.25 MB / 0.9323 GB " [Timeout remaining time 293] (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 --stepSize=1.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.89876418467611]