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.001275/0.001275, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001445/0.001445, allocations: 219.8 kB / 23.03 MB, free: 4.922 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.292/3.292, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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.002018/0.002018, allocations: 74.64 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4551, allocations: 179 MB / 1.345 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002382/0.4575, allocations: 0.7011 MB / 1.346 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.4587, allocations: 0.8241 MB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.4588, allocations: 0 / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.4588, allocations: 3.984 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.4589, allocations: 15.86 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.99e-05/0.459, allocations: 15.98 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.734e-05/0.4591, allocations: 35.92 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4592, allocations: 11.98 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.4593, allocations: 19.92 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.4593, allocations: 19.92 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.4594, allocations: 4 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.4594, allocations: 4 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.4594, allocations: 7.938 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.4594, allocations: 15.92 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.4596, allocations: 44.08 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4596, allocations: 0 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4596, allocations: 4 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4596, allocations: 0 / 1.347 GB, free: 14.15 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.0006578/0.4602, allocations: 299.3 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4603, allocations: 8.031 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.692e-05/0.4603, allocations: 4.125 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.4603, allocations: 34.75 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.4604, allocations: 4.891 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4605, allocations: 110.5 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4605, allocations: 8.375 kB / 1.347 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.4605, allocations: 8.375 kB / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.4608, allocations: 73.95 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4608, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.4609, allocations: 3.938 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.4609, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.4611, allocations: 63.88 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.4616, allocations: 240 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.4618, allocations: 50.55 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.4619, allocations: 44.89 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.462, allocations: 0 / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.462, allocations: 30.56 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.462, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005899/0.4626, allocations: 133.5 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4626, allocations: 55.41 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4627, allocations: 105.8 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.4627, allocations: 25.7 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.4628, allocations: 88.14 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.4628, allocations: 11.91 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.4629, allocations: 17.72 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.463, allocations: 322.8 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.4632, allocations: 27.97 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4633, allocations: 31.95 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.4636, allocations: 72.73 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4636, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.4639, allocations: 101.6 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4639, allocations: 4 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4639, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.464, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4641, allocations: 15.98 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4641, allocations: 4 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.4642, allocations: 11.98 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4642, allocations: 0 / 1.349 GB, free: 11.98 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 0.0001012/0.4643, allocations: 113.8 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.4643, allocations: 11.94 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.4643, allocations: 4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4643, allocations: 0 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4644, allocations: 7.938 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4644, allocations: 3.938 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.4646, allocations: 148.6 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4646, allocations: 3.938 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.4647, allocations: 11.98 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4647, allocations: 3.984 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4648, allocations: 4 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4648, allocations: 4 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4648, allocations: 0 / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.4651, allocations: 195.4 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.4652, allocations: 11.95 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4652, allocations: 0 / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4653, allocations: 15.97 kB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.4653, allocations: 384 / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4653, allocations: 0 / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.4654, allocations: 91.27 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4654, allocations: 3.938 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002148/0.4656, allocations: 4 kB / 1.35 GB, free: 11.28 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.0007534/0.4664, allocations: 0.7358 MB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.4667, allocations: 63.92 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4667, allocations: 0 / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4669, allocations: 39.91 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.4672, allocations: 10.19 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.4678, allocations: 151.2 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.354e-05/0.4679, allocations: 63.34 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.4679, allocations: 7.984 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.4679, allocations: 15.44 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of SimCode: time 6.82e-07/0.4679, allocations: 0 / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.4919, allocations: 1.827 MB / 1.352 GB, free: 8.438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.85, allocations: 9.094 kB / 1.352 GB, free: 8.434 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: 18.943303399020806]