Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.00192/0.00192, allocations: 121.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002441/0.002441, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.635/1.635, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 3.077/3.077, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 63.91 kB / 1.165 GB, free: 416 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.225, allocations: 178.9 MB / 1.34 GB, free: 16.35 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001832/1.227, allocations: 0.7141 MB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001024/1.228, allocations: 0.8312 MB / 1.342 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/1.228, allocations: 0 / 1.342 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/1.228, allocations: 5.625 kB / 1.342 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/1.228, allocations: 5.719 kB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/1.228, allocations: 18.61 kB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/1.229, allocations: 47.11 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/1.229, allocations: 9.016 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/1.229, allocations: 22.67 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/1.229, allocations: 22 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/1.229, allocations: 3.312 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/1.229, allocations: 3.281 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/1.229, allocations: 7.688 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/1.229, allocations: 18.28 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/1.229, allocations: 41.31 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.229, allocations: 0.7969 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.734e-06/1.229, allocations: 1.125 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/1.229, allocations: 4 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005027/1.23, allocations: 368.7 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.23, allocations: 9.125 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.474e-05/1.23, allocations: 1.125 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.214e-05/1.23, allocations: 32.8 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/1.23, allocations: 3.469 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.779e-05/1.23, allocations: 167.9 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/1.23, allocations: 9.719 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/1.23, allocations: 9.469 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/1.23, allocations: 77.7 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/1.23, allocations: 0 / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.23, allocations: 0.5625 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.23, allocations: 1.469 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/1.23, allocations: 66.56 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/1.231, allocations: 265.2 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/1.231, allocations: 59.66 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/1.231, allocations: 39.44 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/1.231, allocations: 5.828 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/1.231, allocations: 31.22 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/1.231, allocations: 0.9688 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005839/1.232, allocations: 129.5 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/1.232, allocations: 51.41 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/1.232, allocations: 120.2 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/1.232, allocations: 25.7 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/1.232, allocations: 91.47 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/1.232, allocations: 10.88 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/1.232, allocations: 12.59 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.089e-05/1.232, allocations: 320.4 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/1.232, allocations: 36.28 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.232, allocations: 30.92 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/1.233, allocations: 65.98 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.233, allocations: 4.797 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003288/1.233, allocations: 94.62 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.233, allocations: 5.281 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.233, allocations: 0.6562 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.233, allocations: 1.5 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.233, allocations: 18.88 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.233, allocations: 5.156 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/1.233, allocations: 11 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/1.233, allocations: 0.9688 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.288e-05/1.233, allocations: 117.1 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/1.233, allocations: 6.375 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/1.234, allocations: 113.2 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.234, allocations: 0 / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.234, allocations: 1.281 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.234, allocations: 0 / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/1.234, allocations: 171.5 kB / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.234, allocations: 0 / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.234, allocations: 23.55 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.234, allocations: 1.406 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/1.234, allocations: 4.547 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.234, allocations: 1.469 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.234, allocations: 8 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/1.234, allocations: 193.2 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/1.234, allocations: 83.64 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/1.234, allocations: 1.312 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.234, allocations: 20.27 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/1.234, allocations: 2.844 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/1.234, allocations: 1.25 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.157e-05/1.234, allocations: 87.67 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.234, allocations: 1.062 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002194/1.235, allocations: 5.625 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000557/1.235, allocations: 0.7313 MB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003752/1.236, allocations: 70.39 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.236, allocations: 0 / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/1.236, allocations: 38.81 kB / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/1.236, allocations: 8.109 kB / 1.346 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/1.237, allocations: 160.9 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/1.237, allocations: 0.6846 MB / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.713e-05/1.237, allocations: 2.453 kB / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/1.237, allocations: 18.61 kB / 1.346 GB, free: 11.02 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/1.237, allocations: 0 / 1.346 GB, free: 11.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/1.254, allocations: 1.663 MB / 1.348 GB, free: 10.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.529, allocations: 13.58 kB / 1.348 GB, free: 10.61 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 16.562660928000696]