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.001274/0.001274, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001279/0.001279, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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.803/2.803, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 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.001896/0.001896, allocations: 67.89 kB / 1.104 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004076/1.025, allocations: 2.4 MB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002414/1.027, allocations: 1.408 MB / 1.272 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/1.027, allocations: 3.062 kB / 1.272 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007291/1.028, allocations: 210.7 kB / 1.273 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/1.028, allocations: 72.5 kB / 1.273 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/1.029, allocations: 119.9 kB / 1.273 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005264/1.029, allocations: 327 kB / 1.273 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/1.029, allocations: 34.78 kB / 1.273 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/1.03, allocations: 133.5 kB / 1.273 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/1.03, allocations: 185.3 kB / 1.273 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/1.03, allocations: 35.03 kB / 1.274 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/1.03, allocations: 82.39 kB / 1.274 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/1.03, allocations: 121.4 kB / 1.274 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/1.031, allocations: 172.1 kB / 1.274 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007168/1.031, allocations: 499.7 kB / 1.274 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.031, allocations: 0.9688 kB / 1.274 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.031, allocations: 3.938 kB / 1.274 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.031, allocations: 0 / 1.274 GB, free: 4.137 MB / 0.9981 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.001393/1.033, allocations: 0.7074 MB / 1.275 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.033, allocations: 13.16 kB / 1.275 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/1.033, allocations: 50.89 kB / 1.275 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/1.034, allocations: 147.8 kB / 1.275 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/1.034, allocations: 354.7 kB / 1.276 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.034, allocations: 90.88 kB / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/1.034, allocations: 12.97 kB / 1.276 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/1.035, allocations: 298.4 kB / 1.276 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.035, allocations: 0 / 1.276 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/1.035, allocations: 4.844 kB / 1.276 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.035, allocations: 4.312 kB / 1.276 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.036, allocations: 415.4 kB / 1.276 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/1.038, allocations: 0.8684 MB / 1.277 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/1.039, allocations: 254.4 kB / 1.277 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/1.039, allocations: 208.6 kB / 1.278 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/1.039, allocations: 5.828 kB / 1.278 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/1.039, allocations: 36.95 kB / 1.278 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.163e-06/1.039, allocations: 0 / 1.278 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.00173/1.041, allocations: 0.6496 MB / 1.278 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/1.041, allocations: 58.03 kB / 1.278 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/1.042, allocations: 421.7 kB / 1.279 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/1.042, allocations: 31.05 kB / 1.279 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/1.042, allocations: 183.6 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/1.042, allocations: 59.55 kB / 1.279 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.042, allocations: 37.95 kB / 1.279 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/1.042, allocations: 347.4 kB / 1.279 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/1.043, allocations: 194.1 kB / 1.28 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/1.043, allocations: 236.7 kB / 1.28 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/1.044, allocations: 374.2 kB / 1.28 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.044, allocations: 0 / 1.28 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001063/1.045, allocations: 459.8 kB / 1.281 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.045, allocations: 4.656 kB / 1.281 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.045, allocations: 2.156 kB / 1.281 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.045, allocations: 4.453 kB / 1.281 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/1.046, allocations: 70.38 kB / 1.281 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.046, allocations: 0.5312 kB / 1.281 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/1.046, allocations: 40.38 kB / 1.281 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/1.046, allocations: 17.61 kB / 1.281 GB, free: 0.4922 MB / 0.9981 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.0001484/1.046, allocations: 160.3 kB / 1.281 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/1.046, allocations: 38.69 kB / 1.281 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/1.046, allocations: 43.02 kB / 1.281 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.046, allocations: 8.359 kB / 1.281 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.046, allocations: 0 / 1.281 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.046, allocations: 1.312 kB / 1.281 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/1.047, allocations: 468.1 kB / 1.281 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.047, allocations: 1.781 kB / 1.281 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/1.047, allocations: 68.95 kB / 1.282 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.047, allocations: 1.312 kB / 1.282 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/1.047, allocations: 3.516 kB / 1.282 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.047, allocations: 6.578 kB / 1.282 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.047, allocations: 3.984 kB / 1.282 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/1.048, allocations: 0.5547 MB / 1.282 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.049, allocations: 117.8 kB / 1.282 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/1.049, allocations: 10.56 kB / 1.282 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/1.049, allocations: 38.59 kB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.049, allocations: 25.86 kB / 1.282 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/1.049, allocations: 5.781 kB / 1.282 GB, free: 15.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003549/1.049, allocations: 309.8 kB / 1.283 GB, free: 15.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.049, allocations: 0 / 1.283 GB, free: 15.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003296/1.05, allocations: 66.39 kB / 1.283 GB, free: 15.38 MB / 1.014 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.001626/1.051, allocations: 1.093 MB / 1.284 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00116/1.053, allocations: 426.5 kB / 1.284 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.053, allocations: 0 / 1.284 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005599/1.053, allocations: 217.2 kB / 1.284 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/1.054, allocations: 55.58 kB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/1.06, allocations: 4.151 MB / 1.288 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/1.061, allocations: 0.7988 MB / 1.289 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003084/1.061, allocations: 62.75 kB / 1.289 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/1.061, allocations: 105.3 kB / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.061, allocations: 0 / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/1.098, allocations: 7.969 MB / 1.297 GB, free: 10.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/9.652, allocations: 8.047 kB / 1.297 GB, free: 10.45 MB / 1.014 GB " [Timeout remaining time 290] (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.91891510784626]