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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 111.8 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 202 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7637 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 1.108 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9345/0.9364, allocations: 168.7 MB / 1.273 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003929/0.9404, allocations: 2.412 MB / 1.275 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.9425, allocations: 1.409 MB / 1.277 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.9426, allocations: 4 kB / 1.277 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.9432, allocations: 214.8 kB / 1.277 GB, free: 276 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.9434, allocations: 79.34 kB / 1.277 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.9437, allocations: 107.7 kB / 1.277 GB, free: 88 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.9441, allocations: 338.6 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.9442, allocations: 34.56 kB / 1.277 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.9444, allocations: 135.5 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.9447, allocations: 183.4 kB / 1.278 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.9447, allocations: 35.94 kB / 1.278 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.9449, allocations: 75.95 kB / 1.278 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.945, allocations: 119.7 kB / 1.278 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.9452, allocations: 175 kB / 1.278 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.9458, allocations: 0.4903 MB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.9458, allocations: 0 / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9458, allocations: 0 / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.9458, allocations: 0 / 1.278 GB, free: 14.52 MB / 0.9825 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.001395/0.9472, allocations: 0.712 MB / 1.279 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9472, allocations: 8.031 kB / 1.279 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.9473, allocations: 54.73 kB / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.9482, allocations: 148.5 kB / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.9487, allocations: 358.5 kB / 1.28 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.9488, allocations: 84.19 kB / 1.28 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.9489, allocations: 12.38 kB / 1.28 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007788/0.9497, allocations: 303.2 kB / 1.28 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9497, allocations: 0 / 1.28 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.9497, allocations: 8 kB / 1.28 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.9497, allocations: 4 kB / 1.28 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.9508, allocations: 416.3 kB / 1.28 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.9525, allocations: 0.8627 MB / 1.281 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.9532, allocations: 254.4 kB / 1.282 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.9538, allocations: 212.7 kB / 1.282 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.9538, allocations: 7.984 kB / 1.282 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.9538, allocations: 30.56 kB / 1.282 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.9538, allocations: 0 / 1.282 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001833/0.9556, allocations: 0.6519 MB / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.9557, allocations: 59.28 kB / 1.283 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.9562, allocations: 425.6 kB / 1.283 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.9562, allocations: 33.7 kB / 1.283 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.9564, allocations: 180 kB / 1.283 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.9564, allocations: 59.48 kB / 1.283 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.9566, allocations: 37.69 kB / 1.283 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9567, allocations: 350.8 kB / 1.284 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.9573, allocations: 195.9 kB / 1.284 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.9578, allocations: 227.3 kB / 1.284 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.9589, allocations: 370.1 kB / 1.284 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9589, allocations: 3.938 kB / 1.284 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001238/0.9601, allocations: 467 kB / 1.285 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9601, allocations: 11.94 kB / 1.285 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9601, allocations: 0 / 1.285 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9602, allocations: 0 / 1.285 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.9607, allocations: 71.86 kB / 1.285 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9607, allocations: 0 / 1.285 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.961, allocations: 43.84 kB / 1.285 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.9611, allocations: 11.98 kB / 1.285 GB, free: 7.688 MB / 0.9825 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.00021/0.9613, allocations: 162.3 kB / 1.285 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.9613, allocations: 39.77 kB / 1.285 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.097e-05/0.9614, allocations: 39.59 kB / 1.285 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.9614, allocations: 3.938 kB / 1.285 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9614, allocations: 4 kB / 1.285 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9614, allocations: 4.031 kB / 1.285 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.962, allocations: 470.9 kB / 1.286 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.962, allocations: 4 kB / 1.286 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.9625, allocations: 59.92 kB / 1.286 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.9625, allocations: 4 kB / 1.286 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.9625, allocations: 0 / 1.286 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.9625, allocations: 3.938 kB / 1.286 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9625, allocations: 3.938 kB / 1.286 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.9638, allocations: 0.5575 MB / 1.286 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.9639, allocations: 116.8 kB / 1.286 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.964, allocations: 8 kB / 1.286 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.9643, allocations: 35.88 kB / 1.286 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.9644, allocations: 23.97 kB / 1.286 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.9644, allocations: 4 kB / 1.286 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003728/0.9648, allocations: 319.1 kB / 1.287 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9648, allocations: 0 / 1.287 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003444/0.9652, allocations: 63.95 kB / 1.287 GB, free: 5.695 MB / 0.9825 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.001654/0.9668, allocations: 1.097 MB / 1.288 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.9681, allocations: 427.5 kB / 1.288 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9681, allocations: 0 / 1.288 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006044/0.9687, allocations: 221.7 kB / 1.288 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.9691, allocations: 49.42 kB / 1.288 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.9762, allocations: 4.157 MB / 1.293 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.9767, allocations: 0.787 MB / 1.293 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000279/0.977, allocations: 62.27 kB / 1.293 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.9772, allocations: 111.4 kB / 1.293 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of SimCode: time 1.342e-06/0.9772, allocations: 0 / 1.293 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/1.008, allocations: 7.977 MB / 1.301 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/9.419, allocations: 4 kB / 1.301 GB, free: 6.836 MB / 0.9981 GB " [Timeout remaining time 291] (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 --stepSize=1.04 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.604097765870392]