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.002209/0.002209, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002744/0.002744, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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 3.226e-06/3.226e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/4.04e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002139/0.00218, allocations: 0.6059 MB / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.004586, allocations: 1.133 MB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.004631, allocations: 0.5625 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.004664, allocations: 5.094 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.004728, allocations: 0 / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.005258, allocations: 124.1 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.005448, allocations: 92.75 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.005529, allocations: 0 / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.005657, allocations: 53.05 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005765, allocations: 27.89 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.005798, allocations: 8 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.00587, allocations: 16.64 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.005907, allocations: 8 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.005974, allocations: 21.45 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.006186, allocations: 103.7 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.006188, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006189, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.006194, allocations: 1.594 kB / 0.7885 GB, free: 10.66 MB / 0.7448 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.0005674/0.006761, allocations: 300 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.006806, allocations: 8.031 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.312e-05/0.00689, allocations: 8.938 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.00703, allocations: 109.1 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.007054, allocations: 8.359 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.007075, allocations: 4.375 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.007212, allocations: 59.97 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.007222, allocations: 8.125 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.007236, allocations: 4.359 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.007241, allocations: 384 / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.007269, allocations: 7.938 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.007699, allocations: 221.4 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.007767, allocations: 22.58 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.0078, allocations: 5.453 kB / 0.7892 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.007812, allocations: 0 / 0.7892 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.008026, allocations: 98.44 kB / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.008027, allocations: 4 kB / 0.7893 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002593/0.008287, allocations: 65.61 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.008355, allocations: 56.03 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.008479, allocations: 109.8 kB / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.008509, allocations: 26.77 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.008591, allocations: 88.14 kB / 0.7897 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.008602, allocations: 4.703 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.008676, allocations: 29.7 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.008888, allocations: 323.6 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.008992, allocations: 57.67 kB / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.009115, allocations: 73.55 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.00925, allocations: 88.2 kB / 0.7902 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.009251, allocations: 4.469 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003353/0.009587, allocations: 186.3 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.009637, allocations: 37.64 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.009644, allocations: 0 / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/0.009674, allocations: 1.531 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.158e-05/0.009696, allocations: 4 kB / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.009701, allocations: 0 / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.009914, allocations: 30.67 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.009938, allocations: 8 kB / 0.7905 GB, free: 8.402 MB / 0.7448 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.0001108/0.01005, allocations: 109.8 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.01006, allocations: 4 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.01009, allocations: 12.25 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.0101, allocations: 4 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.0101, allocations: 5.547 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01011, allocations: 4 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.01023, allocations: 101.3 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.01024, allocations: 3.984 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-06/0.01025, allocations: 4.438 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.01025, allocations: 4.531 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.01026, allocations: 0 / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.01026, allocations: 5.344 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01026, allocations: 0 / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.0104, allocations: 81.08 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.01041, allocations: 0 / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.01042, allocations: 8.609 kB / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.01044, allocations: 3.938 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.01047, allocations: 1.969 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.01048, allocations: 4 kB / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.426e-05/0.01054, allocations: 87.27 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01054, allocations: 0 / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002287/0.01077, allocations: 16 kB / 0.7909 GB, free: 7.898 MB / 0.7448 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.0001703/0.01094, allocations: 104.4 kB / 0.791 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.0112, allocations: 141.8 kB / 0.7911 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.0112, allocations: 1.031 kB / 0.7911 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.01123, allocations: 4 kB / 0.7911 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01145, allocations: 22.47 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01182, allocations: 133.3 kB / 0.7913 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.801e-05/0.01189, allocations: 59.34 kB / 0.7913 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.0119, allocations: 6.219 kB / 0.7914 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.01193, allocations: 8.5 kB / 0.7914 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01193, allocations: 4 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of Templates: time 0.004452/0.01638, allocations: 1.186 MB / 0.7925 GB, free: 6.223 MB / 0.7448 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.066768227959983]