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.001922/0.001922, allocations: 108.5 kB / 16.45 MB, free: 6.5 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.002301/0.002301, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.548/1.548, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.371/3.371, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.002048/0.002048, allocations: 78.95 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.382, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001852/0.3838, allocations: 0.6005 MB / 1.348 GB, free: 9.414 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3854, allocations: 1.136 MB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.3854, allocations: 4 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.3855, allocations: 3.938 kB / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.3855, allocations: 7.969 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.386, allocations: 125.2 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3862, allocations: 91.77 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.3863, allocations: 4 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.3863, allocations: 35.95 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.3864, allocations: 27.91 kB / 1.35 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.3864, allocations: 8 kB / 1.35 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.3865, allocations: 23.98 kB / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.3865, allocations: 4 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.3866, allocations: 35.89 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.3868, allocations: 80.02 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3868, allocations: 8 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3868, allocations: 0 / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3868, allocations: 0 / 1.35 GB, free: 7.816 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005191/0.3874, allocations: 369.1 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3874, allocations: 15.98 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.3874, allocations: 34.73 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.3875, allocations: 8.891 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3876, allocations: 168.3 kB / 1.35 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3876, allocations: 8.375 kB / 1.35 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3877, allocations: 4.375 kB / 1.35 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.3878, allocations: 42.25 kB / 1.35 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3878, allocations: 3.938 kB / 1.35 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.3878, allocations: 0 / 1.35 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3878, allocations: 0 / 1.35 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.3878, allocations: 8 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.3882, allocations: 284.9 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.3882, allocations: 34.39 kB / 1.351 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.3883, allocations: 4.859 kB / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.3883, allocations: 0 / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.3884, allocations: 59.45 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3884, allocations: 0 / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.3886, allocations: 69.58 kB / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.3887, allocations: 55.41 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.3888, allocations: 105.8 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3888, allocations: 29.7 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.3889, allocations: 84.14 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.3889, allocations: 7.891 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.3889, allocations: 29.7 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.3892, allocations: 322.8 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.3892, allocations: 23.98 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.3893, allocations: 54.56 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3895, allocations: 88.36 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3895, allocations: 0 / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002749/0.3897, allocations: 143.3 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3898, allocations: 41.69 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3898, allocations: 96 / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3898, allocations: 4 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.588e-05/0.3898, allocations: 0 / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3898, allocations: 4 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.39, allocations: 31.86 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.3901, allocations: 7.984 kB / 1.352 GB, free: 5.434 MB / 1.045 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 0.0001068/0.3902, allocations: 125.7 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.3902, allocations: 4 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.3902, allocations: 7.906 kB / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3902, allocations: 0 / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3902, allocations: 0 / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3902, allocations: 0 / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3904, allocations: 169.6 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3904, allocations: 0 / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.3904, allocations: 320 / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3904, allocations: 0 / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3904, allocations: 4 kB / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3904, allocations: 0 / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3904, allocations: 0 / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.3905, allocations: 89.05 kB / 1.352 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.3906, allocations: 81.06 kB / 1.352 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3906, allocations: 0 / 1.352 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.3906, allocations: 4 kB / 1.352 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.3906, allocations: 11.88 kB / 1.352 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3906, allocations: 0 / 1.352 GB, free: 4.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.3907, allocations: 87.27 kB / 1.352 GB, free: 4.754 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 4 kB / 1.352 GB, free: 4.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002132/0.3909, allocations: 19.94 kB / 1.353 GB, free: 4.73 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: 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.0004669/0.3914, allocations: 0.6124 MB / 1.353 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3916, allocations: 111.3 kB / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3916, allocations: 192 / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.3916, allocations: 8 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.3918, allocations: 17.53 kB / 1.353 GB, free: 3.945 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3936, allocations: 1.361 MB / 1.355 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3941, allocations: 0.6807 MB / 1.355 GB, free: 1.777 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.3941, allocations: 4.234 kB / 1.355 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3941, allocations: 19.42 kB / 1.355 GB, free: 1.758 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3941, allocations: 0 / 1.355 GB, free: 1.758 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.4218, allocations: 1.965 MB / 1.357 GB, free: 15.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.731, allocations: 12.81 kB / 1.357 GB, free: 15.89 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.830727863823995]