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.001917/0.001917, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002334/0.002334, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.891/2.891, allocations: 359 MB / 0.6048 GB, free: 10.94 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 1.944e-06/1.944e-06, allocations: 0.875 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.887e-05, allocations: 6.875 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001705/0.001734, allocations: 0.61 MB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.003369, allocations: 1.133 MB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.003405, allocations: 0.6562 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.003427, allocations: 5.312 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.003495, allocations: 7.938 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.003938, allocations: 128.9 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.0041, allocations: 83.83 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.625e-05/0.004167, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.004273, allocations: 57.16 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.004361, allocations: 19.97 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.004387, allocations: 8 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.667e-05/0.004454, allocations: 23.98 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.004471, allocations: 5.688 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.004529, allocations: 23.97 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.004714, allocations: 99.77 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.004716, allocations: 0 / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004717, allocations: 0.8438 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004721, allocations: 0 / 0.7885 GB, free: 10.64 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.0005322/0.005253, allocations: 401.9 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.005299, allocations: 13.09 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.005351, allocations: 4.938 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.00547, allocations: 113.9 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.005486, allocations: 8.312 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.005507, allocations: 8.359 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.005621, allocations: 63.91 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005629, allocations: 1.781 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.005637, allocations: 384 / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.005641, allocations: 384 / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.00568, allocations: 15.92 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.006082, allocations: 281.3 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.006146, allocations: 23.06 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.006169, allocations: 15.69 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.006176, allocations: 0 / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.006313, allocations: 97.39 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.006314, allocations: 0 / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002145/0.006529, allocations: 69.62 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.006582, allocations: 59.33 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.00673, allocations: 165.9 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.006765, allocations: 33.69 kB / 0.7898 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.006857, allocations: 135.6 kB / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.006867, allocations: 3.953 kB / 0.7899 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.006946, allocations: 37.02 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002722/0.007218, allocations: 0.4884 MB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.007328, allocations: 65.67 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.007701, allocations: 92.75 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.007843, allocations: 98.44 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007846, allocations: 4.312 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003208/0.008166, allocations: 192.9 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.008212, allocations: 38.7 kB / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008216, allocations: 0 / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.008234, allocations: 9.844 kB / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.498e-05/0.008248, allocations: 0 / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.008253, allocations: 0 / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.008429, allocations: 23.97 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.008451, allocations: 10 kB / 0.791 GB, free: 7.84 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.0001375/0.008589, allocations: 156.6 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.008607, allocations: 8 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.008631, allocations: 11.92 kB / 0.7911 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008633, allocations: 3.938 kB / 0.7911 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.008636, allocations: 0.5938 kB / 0.7911 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.008638, allocations: 0 / 0.7911 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.008768, allocations: 129.1 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008769, allocations: 0.7188 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-06/0.008775, allocations: 0 / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.008776, allocations: 0.5312 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.008782, allocations: 1.469 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.008787, allocations: 7.938 kB / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008788, allocations: 0 / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.008925, allocations: 92.39 kB / 0.7914 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.008934, allocations: 4.516 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.008947, allocations: 4 kB / 0.7914 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.008964, allocations: 5.312 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.008989, allocations: 0 / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.008996, allocations: 4 kB / 0.7914 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.536e-05/0.009082, allocations: 131.2 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009082, allocations: 1.156 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002043/0.009286, allocations: 16 kB / 0.7915 GB, free: 7.211 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.0001674/0.009454, allocations: 108.5 kB / 0.7916 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.009736, allocations: 168.8 kB / 0.7918 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009737, allocations: 0.9062 kB / 0.7918 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.009777, allocations: 19.91 kB / 0.7918 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.009972, allocations: 16.95 kB / 0.7918 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.01029, allocations: 131.6 kB / 0.7919 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/0.01035, allocations: 63.34 kB / 0.792 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.01037, allocations: 4.594 kB / 0.792 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.0104, allocations: 8.5 kB / 0.792 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.0104, allocations: 0.5938 kB / 0.792 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of Templates: time 0.004249/0.01464, allocations: 1.201 MB / 0.7932 GB, free: 5.477 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] 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: 7.979035728960298]