Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 113.5 kB / 19.73 MB, free: 2.242 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.002217/0.002217, allocations: 215.2 kB / 23.04 MB, free: 5.07 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.324/3.324, allocations: 0.5003 GB / 0.8061 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.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",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.002715/0.002715, allocations: 60 kB / 1.171 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4491, allocations: 179 MB / 1.345 GB, free: 428 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002233/0.4513, allocations: 0.7117 MB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.4524, allocations: 0.8397 MB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.4524, allocations: 0 / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.4524, allocations: 3.938 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.4525, allocations: 7.938 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.64e-05/0.4526, allocations: 15.98 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.4527, allocations: 47.78 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4528, allocations: 8 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.024e-05/0.4529, allocations: 15.92 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.4529, allocations: 27.91 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.4529, allocations: 4 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-06/0.453, allocations: 0 / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.453, allocations: 8 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.453, allocations: 19.86 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.4531, allocations: 48.08 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4531, allocations: 4 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4531, allocations: 0 / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4531, 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.0005666/0.4537, allocations: 282.2 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4537, allocations: 8.031 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.563e-05/0.4538, allocations: 4.188 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.4538, allocations: 34.75 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.4538, allocations: 4.938 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.4539, allocations: 122.4 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.4539, allocations: 384 / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.454, allocations: 4.375 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.4542, allocations: 73.95 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4542, allocations: 0 / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.4542, allocations: 0 / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4542, allocations: 4 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.4545, allocations: 63.92 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.4549, allocations: 243.9 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4552, allocations: 50.48 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.4553, allocations: 48.91 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.4553, allocations: 0 / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4553, allocations: 30.56 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.4553, allocations: 0 / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005488/0.4559, allocations: 133.5 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.4559, allocations: 55.41 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4561, allocations: 109.8 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4561, allocations: 29.64 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.4561, allocations: 92.08 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.4562, allocations: 11.89 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.4562, allocations: 21.72 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4563, allocations: 318.8 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4565, allocations: 27.97 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4566, allocations: 35.95 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.4569, allocations: 64.8 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4569, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003165/0.4572, allocations: 101.5 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4572, allocations: 8 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4572, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4573, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4574, allocations: 15.98 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4574, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.4575, allocations: 15.98 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.4575, allocations: 0 / 1.349 GB, free: 12.48 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 8.823e-05/0.4576, allocations: 113.8 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.4576, allocations: 7.938 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.4576, allocations: 12 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4576, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4576, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4576, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.4578, allocations: 144.6 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4578, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.4579, allocations: 19.97 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4579, allocations: 336 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.4579, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4579, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4579, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.4583, allocations: 203.3 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.4583, allocations: 7.953 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4583, allocations: 0 / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4584, allocations: 15.97 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.4585, allocations: 4 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4585, allocations: 0 / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.686e-05/0.4585, allocations: 95.2 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4585, allocations: 0 / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002175/0.4588, allocations: 8 kB / 1.35 GB, free: 11.77 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.0008042/0.4596, allocations: 0.724 MB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.4599, allocations: 71.92 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4599, allocations: 3.938 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.4601, allocations: 35.97 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4604, allocations: 13.19 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.4609, allocations: 155.1 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.4613, allocations: 0.6805 MB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.4613, allocations: 11.98 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.4614, allocations: 11.44 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.4614, allocations: 0 / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.4846, allocations: 1.765 MB / 1.353 GB, free: 8.363 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.78, allocations: 9.953 kB / 1.353 GB, free: 8.355 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 19.07274439302273]