Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001436/0.001436, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001664/0.001664, allocations: 165 kB / 22.46 MB, free: 5.375 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.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.825/2.825, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.614e-05/3.898e-05, allocations: 9.234 kB / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002013/0.002052, allocations: 0.5908 MB / 0.9515 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.00401, allocations: 1.124 MB / 0.9526 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.004062, allocations: 3.938 kB / 0.9526 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.00409, allocations: 11.92 kB / 0.9526 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.00417, allocations: 4 kB / 0.9526 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.004728, allocations: 120.1 kB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.004934, allocations: 87.81 kB / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.00503, allocations: 8 kB / 0.9528 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.005169, allocations: 43.97 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.005286, allocations: 31.88 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.005321, allocations: 8 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.005404, allocations: 20 kB / 0.9529 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.005426, allocations: 4 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.005491, allocations: 23.97 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.005723, allocations: 107.6 kB / 0.9531 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.005726, allocations: 0 / 0.9531 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.005728, allocations: 3.938 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.005733, allocations: 0 / 0.9531 GB, free: 9.375 MB / 0.8575 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.0005807/0.006314, allocations: 304 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.006356, allocations: 8.031 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.006441, allocations: 8.891 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.006575, allocations: 105.8 kB / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.006594, allocations: 4.375 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.006622, allocations: 8.375 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.006753, allocations: 63.95 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.006762, allocations: 192 / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.006774, allocations: 384 / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.006779, allocations: 384 / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.006813, allocations: 15.88 kB / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.007261, allocations: 212.6 kB / 0.9538 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.007345, allocations: 26.56 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.007379, allocations: 12.92 kB / 0.9538 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.00739, allocations: 0 / 0.9538 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.007603, allocations: 93.03 kB / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.007604, allocations: 0 / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002313/0.007835, allocations: 65.58 kB / 0.954 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.007909, allocations: 55.41 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.008014, allocations: 109.8 kB / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.008049, allocations: 29.7 kB / 0.9542 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.008169, allocations: 84.14 kB / 0.9542 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.008183, allocations: 3.953 kB / 0.9542 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.008261, allocations: 29.7 kB / 0.9543 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000245/0.008506, allocations: 326.8 kB / 0.9546 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.008622, allocations: 57.94 kB / 0.9546 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.008817, allocations: 88.19 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.008953, allocations: 76.27 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008955, allocations: 0 / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004195/0.009375, allocations: 176.9 kB / 0.955 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.009435, allocations: 41.62 kB / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009441, allocations: 0 / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.009461, allocations: 4.328 kB / 0.955 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.218e-05/0.009483, allocations: 4 kB / 0.955 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.009491, allocations: 3.938 kB / 0.955 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.009734, allocations: 27.92 kB / 0.955 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.00976, allocations: 8 kB / 0.955 GB, free: 7.113 MB / 0.8575 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.0001282/0.009888, allocations: 109.8 kB / 0.9551 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.009904, allocations: 11.97 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.009939, allocations: 11.94 kB / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009942, allocations: 7.938 kB / 0.9552 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.009948, allocations: 0 / 0.9552 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.009951, allocations: 4 kB / 0.9552 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.01008, allocations: 101.3 kB / 0.9553 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01008, allocations: 0 / 0.9553 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-06/0.01009, allocations: 4 kB / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0101, allocations: 0 / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01011, allocations: 4 kB / 0.9553 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01012, allocations: 3.938 kB / 0.9553 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01012, allocations: 0 / 0.9553 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.01025, allocations: 81.05 kB / 0.9554 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.01027, allocations: 7.953 kB / 0.9554 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.01028, allocations: 4 kB / 0.9554 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.0103, allocations: 3.938 kB / 0.9554 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.01033, allocations: 4 kB / 0.9554 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.01034, allocations: 0 / 0.9554 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.01043, allocations: 91.33 kB / 0.9555 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01043, allocations: 4 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002229/0.01065, allocations: 12 kB / 0.9555 GB, free: 6.594 MB / 0.8575 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.0001926/0.01084, allocations: 103.2 kB / 0.9556 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.01116, allocations: 145 kB / 0.9557 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01116, allocations: 0 / 0.9557 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.01119, allocations: 8 kB / 0.9557 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01141, allocations: 11.92 kB / 0.9557 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.01196, allocations: 124.7 kB / 0.9559 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.458e-05/0.01203, allocations: 63.34 kB / 0.9559 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.01206, allocations: 8 kB / 0.9559 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.01208, allocations: 8.688 kB / 0.9559 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of SimCode: time 1.272e-06/0.01208, allocations: 4 kB / 0.9559 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.005071/0.01715, allocations: 1.191 MB / 0.9571 GB, free: 4.898 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.304654642939568]