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.001673/0.001673, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002568/0.002568, allocations: 216.8 kB / 23.04 MB, free: 5.074 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.247/3.247, allocations: 0.5003 GB / 0.8062 GB, free: 26.8 MB / 0.6231 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.002063/0.002063, allocations: 66.16 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4339, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002096/0.436, allocations: 0.7139 MB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4373, allocations: 0.8436 MB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.4373, allocations: 0 / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.4373, allocations: 3.938 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.941e-05/0.4374, allocations: 7.938 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.4375, allocations: 15.98 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.4376, allocations: 39.86 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4378, allocations: 11.98 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.4378, allocations: 19.92 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.4379, allocations: 27.91 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.4379, allocations: 4 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.4379, allocations: 4 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.438, allocations: 4 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.438, allocations: 19.86 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.4381, allocations: 48.03 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4381, allocations: 0 / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4381, allocations: 0 / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.4381, allocations: 0 / 1.347 GB, free: 14.65 MB / 1.045 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.0006325/0.4388, allocations: 286.2 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4388, allocations: 12.03 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.4388, allocations: 4.125 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.4389, allocations: 38.73 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.4389, allocations: 4.938 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.439, allocations: 118.4 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4391, allocations: 384 / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.4391, allocations: 384 / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.4394, allocations: 77.97 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4394, allocations: 3.938 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4394, allocations: 0 / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4394, allocations: 0 / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.4397, allocations: 63.92 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.4401, allocations: 243.9 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.4404, allocations: 54.53 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4405, allocations: 36.92 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4405, allocations: 7.938 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4406, allocations: 38.56 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4406, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005845/0.4412, allocations: 129.6 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.4412, allocations: 51.41 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4413, allocations: 113.8 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4413, allocations: 29.64 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.4414, allocations: 84.14 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.4414, allocations: 11.89 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.4414, allocations: 17.72 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4416, allocations: 318.8 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4418, allocations: 35.89 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4419, allocations: 31.97 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.4422, allocations: 68.78 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4422, allocations: 0 / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.4425, allocations: 97.62 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4425, allocations: 5.562 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4425, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4425, allocations: 4 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4427, allocations: 15.97 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4427, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.4428, allocations: 15.98 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4428, allocations: 3.938 kB / 1.349 GB, free: 12.47 MB / 1.045 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 9.876e-05/0.4429, allocations: 117.8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4429, allocations: 3.953 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.4433, allocations: 105.6 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4433, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4433, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4433, allocations: 7.938 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.4435, allocations: 148.6 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4435, allocations: 4 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.4436, allocations: 11.98 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4436, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4436, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4436, allocations: 4 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4436, allocations: 3.938 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.444, allocations: 199.4 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.444, allocations: 3.953 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4441, allocations: 4 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4442, allocations: 7.984 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.4442, allocations: 11.98 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.4442, allocations: 0 / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.4443, allocations: 87.22 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4443, allocations: 0 / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002181/0.4445, allocations: 12 kB / 1.35 GB, free: 11.67 MB / 1.045 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.000751/0.4452, allocations: 0.7284 MB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.4456, allocations: 67.95 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4456, allocations: 0 / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4457, allocations: 39.95 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4461, allocations: 11.94 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.4466, allocations: 159.1 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.4471, allocations: 0.6844 MB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.4471, allocations: 0 / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.4471, allocations: 19.42 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.4471, allocations: 4 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.4699, allocations: 1.763 MB / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.68, allocations: 11.47 kB / 1.353 GB, free: 8.246 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.863347507023718]