Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001308/0.001308, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001491/0.001491, allocations: 210.1 kB / 22.25 MB, free: 4.859 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.793 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.5107 GB / 0.8158 GB, free: 17.92 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.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",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.002089/0.002089, allocations: 66.08 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3947, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001839/0.3965, allocations: 0.5828 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3981, allocations: 1.128 MB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.3982, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.3982, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.3983, allocations: 7.922 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.3988, allocations: 122.2 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.3989, allocations: 87.89 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.399, allocations: 7.984 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.399, allocations: 35.92 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.038e-05/0.3991, allocations: 31.88 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3992, allocations: 8 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.3992, allocations: 20 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3992, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.3993, allocations: 35.89 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3995, allocations: 84.02 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3995, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3995, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3995, allocations: 0 / 1.365 GB, free: 11.99 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004491/0.3999, allocations: 307.9 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3999, allocations: 8.031 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.4, allocations: 30.75 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.4, allocations: 4.938 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.4001, allocations: 110.5 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4001, allocations: 4.375 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.4002, allocations: 4.375 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4003, allocations: 67.89 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4003, allocations: 3.938 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.4003, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4003, allocations: 8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.4003, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.4007, allocations: 240 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.4007, allocations: 30.45 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.4007, allocations: 8.844 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.4007, allocations: 3.938 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.4009, allocations: 93.11 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.4009, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000184/0.4011, allocations: 65.62 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4011, allocations: 51.41 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.4012, allocations: 109.8 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.4013, allocations: 33.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.4013, allocations: 80.14 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.4013, allocations: 7.953 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.4014, allocations: 29.7 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4016, allocations: 318.8 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.4016, allocations: 57.69 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.4017, allocations: 80.25 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4019, allocations: 80.39 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4019, allocations: 4 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002757/0.4021, allocations: 188.9 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.4022, allocations: 31.42 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4022, allocations: 4 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4022, allocations: 3.984 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.396e-05/0.4022, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4022, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.4024, allocations: 27.91 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.4024, allocations: 16.09 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.091e-05/0.4025, allocations: 113.8 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.4025, allocations: 3.984 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.4026, allocations: 12 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4026, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4026, allocations: 3.938 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4026, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.4027, allocations: 132.7 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4027, allocations: 0 / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.4027, allocations: 3.938 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4027, allocations: 4 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4027, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4027, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4027, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.4029, allocations: 94 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.4029, allocations: 4.312 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.4029, allocations: 0 / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/0.4029, allocations: 4 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.4029, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4029, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.403, allocations: 87.27 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.403, allocations: 4 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002026/0.4032, allocations: 16 kB / 1.368 GB, free: 9.09 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000465/0.4036, allocations: 0.6279 MB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.4039, allocations: 133 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4039, allocations: 4 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.4039, allocations: 11.98 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.4041, allocations: 9.359 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4057, allocations: 1.492 MB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.4057, allocations: 63.28 kB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.4057, allocations: 11.88 kB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.4058, allocations: 19.66 kB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4058, allocations: 0 / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.4369, allocations: 2.584 MB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 8.797 kB / 1.373 GB, free: 4.105 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.95473341923207]