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.0006611/0.0006611, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007843/0.0007843, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8619/0.8619, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.778/1.778, allocations: 389 MB / 0.633 GB, free: 12.71 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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.999e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001381/0.001401, allocations: 0.697 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.002233, allocations: 0.8276 MB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.002272, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.002302, allocations: 3.938 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.002375, allocations: 11.92 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.00249, allocations: 11.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.002573, allocations: 47.84 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.002679, allocations: 8 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.002764, allocations: 15.98 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.002812, allocations: 27.84 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.00284, allocations: 4 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.002851, allocations: 8 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.00287, allocations: 4 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.002893, allocations: 15.97 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.002991, allocations: 43.81 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.002993, allocations: 0 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/0.002995, allocations: 0 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.002999, allocations: 0 / 1.001 GB, free: 11.69 MB / 0.9636 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.0003899/0.003389, allocations: 282.2 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.003433, allocations: 12.75 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.003465, allocations: 38.75 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.003487, allocations: 4.891 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.465e-05/0.003561, allocations: 113.7 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.003571, allocations: 384 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003579, allocations: 4.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.003746, allocations: 74.2 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003753, allocations: 4.125 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.003761, allocations: 384 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.003766, allocations: 8.125 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.003901, allocations: 63.94 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.004201, allocations: 232 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.004327, allocations: 50.55 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.004404, allocations: 40.84 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.004424, allocations: 11.88 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.004751, allocations: 34.56 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.004752, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003043/0.005057, allocations: 129.5 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.005086, allocations: 55.41 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.005146, allocations: 113.8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.005156, allocations: 25.7 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.005188, allocations: 84.14 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.005204, allocations: 7.891 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.005233, allocations: 17.7 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.005305, allocations: 318.8 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.005378, allocations: 31.91 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.005442, allocations: 32.14 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.005573, allocations: 76.86 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.005575, allocations: 0 / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001579/0.005733, allocations: 101.5 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.005748, allocations: 9.719 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.005753, allocations: 4 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005764, allocations: 0 / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.005846, allocations: 11.98 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.005851, allocations: 0 / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.005886, allocations: 19.91 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.005893, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 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.113e-05/0.005944, allocations: 113.8 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.005959, allocations: 7.938 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.00616, allocations: 109.5 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.006163, allocations: 4 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006166, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.006173, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.006385, allocations: 132.7 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.006388, allocations: 0 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.006483, allocations: 19.91 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.006487, allocations: 8 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.006495, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.006498, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006499, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.006728, allocations: 195.4 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.006738, allocations: 11.94 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.006751, allocations: 7.984 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.006835, allocations: 15.98 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.006873, allocations: 4 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.006878, allocations: 0 / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.006912, allocations: 87.58 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006912, allocations: 0 / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001536/0.007065, allocations: 15.95 kB / 1.004 GB, free: 8.719 MB / 0.9636 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.0004333/0.007498, allocations: 0.724 MB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.007702, allocations: 63.92 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.007704, allocations: 0 / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.007775, allocations: 36.23 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.008033, allocations: 16.17 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.008427, allocations: 159.1 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.00847, allocations: 67.28 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.008494, allocations: 4.094 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.008536, allocations: 16.48 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.008536, allocations: 0 / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.02348, allocations: 2.324 MB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/6.538, allocations: 7.438 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.591211933642626]