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.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.0007924/0.0007924, 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.0007685/0.0007685, 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.9045/0.9045, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.636/1.636, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.284e-06/2.284e-06, allocations: 0 / 0.9505 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.062e-05, allocations: 5.516 kB / 0.9505 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002453/0.002474, allocations: 2.289 MB / 0.9527 GB, free: 80 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.003865, allocations: 1.355 MB / 0.9541 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.003973, allocations: 0 / 0.9541 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.004393, allocations: 174.9 kB / 0.9542 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.004482, allocations: 83.23 kB / 0.9543 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.004773, allocations: 139.6 kB / 0.9544 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.005054, allocations: 346.6 kB / 0.9548 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.00515, allocations: 28.86 kB / 0.9548 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.005361, allocations: 195.5 kB / 0.955 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.005553, allocations: 155.6 kB / 0.9551 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.005589, allocations: 36 kB / 0.9552 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.005685, allocations: 71.95 kB / 0.9552 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.795e-05/0.005773, allocations: 123.6 kB / 0.9553 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.005862, allocations: 115.7 kB / 0.9555 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.006248, allocations: 0.5102 MB / 0.956 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.00625, allocations: 0 / 0.956 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006251, allocations: 0 / 0.956 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.006256, allocations: 3.938 kB / 0.956 GB, free: 12.76 MB / 0.8698 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.0008398/0.007095, allocations: 0.6521 MB / 0.9566 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.007131, allocations: 12.03 kB / 0.9566 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.007172, allocations: 50.73 kB / 0.9567 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005363/0.007708, allocations: 176.5 kB / 0.9568 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.008031, allocations: 311.9 kB / 0.9571 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.0082, allocations: 191 kB / 0.9573 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.008227, allocations: 12.38 kB / 0.9573 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.008654, allocations: 295.8 kB / 0.9576 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.008662, allocations: 192 / 0.9576 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.008682, allocations: 7.938 kB / 0.9576 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.008687, allocations: 4 kB / 0.9576 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.009308, allocations: 416.4 kB / 0.958 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.01031, allocations: 0.7528 MB / 0.9587 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.01082, allocations: 262.3 kB / 0.959 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.01111, allocations: 204.7 kB / 0.9592 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.01114, allocations: 8 kB / 0.9592 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.01116, allocations: 30.56 kB / 0.9592 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.01116, allocations: 0 / 0.9592 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.001022/0.01218, allocations: 0.6601 MB / 0.9599 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.01221, allocations: 59.39 kB / 0.9599 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.01252, allocations: 425.6 kB / 0.9603 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01255, allocations: 29.7 kB / 0.9604 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.01265, allocations: 172.1 kB / 0.9605 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.0127, allocations: 67.42 kB / 0.9606 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.01278, allocations: 41.69 kB / 0.9606 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.01287, allocations: 350.7 kB / 0.961 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.01317, allocations: 195.9 kB / 0.9611 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.01351, allocations: 308.4 kB / 0.9614 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.01407, allocations: 371.2 kB / 0.9618 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01407, allocations: 0 / 0.9618 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006544/0.01472, allocations: 465.1 kB / 0.9622 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01474, allocations: 4 kB / 0.9622 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01475, allocations: 4 kB / 0.9622 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01476, allocations: 0 / 0.9622 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.01498, allocations: 71.8 kB / 0.9623 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01498, allocations: 4 kB / 0.9623 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.01513, allocations: 51.77 kB / 0.9624 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01515, allocations: 4 kB / 0.9624 GB, free: 5.93 MB / 0.8698 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.0003645/0.01551, allocations: 161.8 kB / 0.9625 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.01555, allocations: 35.77 kB / 0.9626 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.01559, allocations: 47.53 kB / 0.9626 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.0156, allocations: 3.938 kB / 0.9626 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.0156, allocations: 0 / 0.9626 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0156, allocations: 3.984 kB / 0.9626 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.01592, allocations: 370.3 kB / 0.963 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01592, allocations: 4 kB / 0.963 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.0161, allocations: 63.86 kB / 0.963 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.0161, allocations: 4 kB / 0.963 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.01612, allocations: 3.984 kB / 0.963 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01612, allocations: 0 / 0.963 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01612, allocations: 0 / 0.963 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.0168, allocations: 0.5595 MB / 0.9636 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.01684, allocations: 43.69 kB / 0.9636 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.01688, allocations: 4 kB / 0.9636 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.01703, allocations: 31.95 kB / 0.9637 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.0171, allocations: 27.95 kB / 0.9637 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01711, allocations: 8 kB / 0.9637 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002075/0.01732, allocations: 319 kB / 0.964 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01732, allocations: 0 / 0.964 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002129/0.01753, allocations: 67.95 kB / 0.9641 GB, free: 4.125 MB / 0.8698 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.0008564/0.01839, allocations: 1.095 MB / 0.9651 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006616/0.01905, allocations: 425.9 kB / 0.9655 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01905, allocations: 8 kB / 0.9655 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.01936, allocations: 211.8 kB / 0.9657 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.01963, allocations: 53.41 kB / 0.9658 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.02404, allocations: 4.174 MB / 0.9699 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.02415, allocations: 187.5 kB / 0.9701 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.02432, allocations: 66.3 kB / 0.9701 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.02449, allocations: 108.5 kB / 0.9702 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of SimCode: time 7.61e-07/0.02449, allocations: 0 / 0.9702 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.04321, allocations: 9.052 MB / 0.9791 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.219, allocations: 2.234 kB / 0.9791 GB, free: 4.871 MB / 0.8855 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.065755573101342]