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.001039/0.001039, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002488, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001074/0.001074, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002625, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09796/1.108, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.584/2.584, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2669/2.851, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.378e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001722/0.001746, allocations: 0.6454 MB / 0.8189 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.003135, allocations: 1.166 MB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.003168, allocations: 4 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.003191, allocations: 0 / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.003233, allocations: 7.875 kB / 0.8201 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.003566, allocations: 115.6 kB / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.003718, allocations: 87.89 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.759e-05/0.003795, allocations: 11.92 kB / 0.8203 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.003891, allocations: 43.97 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.003981, allocations: 27.95 kB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.004005, allocations: 12 kB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.004084, allocations: 19.92 kB / 0.8204 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.004101, allocations: 7.938 kB / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.004139, allocations: 16 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.004279, allocations: 51.95 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.584e-05/0.004294, allocations: 3.938 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004295, allocations: 0 / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.004313, allocations: 3.984 kB / 0.8204 GB, free: 0.707 MB / 0.7917 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.0004192/0.004732, allocations: 282.3 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.004767, allocations: 8.625 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.004806, allocations: 8.922 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.004909, allocations: 121.7 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.00492, allocations: 384 / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.004936, allocations: 8.375 kB / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.005014, allocations: 63.89 kB / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005021, allocations: 192 / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.005028, allocations: 384 / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005034, allocations: 384 / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.005049, allocations: 7.938 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.005312, allocations: 156.3 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.005355, allocations: 26.53 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-06/0.005364, allocations: 8.859 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-06/0.005368, allocations: 4.062 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.005481, allocations: 77.09 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005482, allocations: 0 / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001198/0.005601, allocations: 61.55 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.005637, allocations: 51.41 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.005704, allocations: 110.7 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.005723, allocations: 29.7 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.005763, allocations: 88.09 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.005772, allocations: 3.984 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.005824, allocations: 29.7 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.005911, allocations: 318.8 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.00596, allocations: 45.69 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.00602, allocations: 72.25 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.0061, allocations: 72.19 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.006103, allocations: 4 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001473/0.00625, allocations: 145 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.006289, allocations: 37.69 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.006294, allocations: 4.094 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.006304, allocations: 7.875 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.657e-05/0.006321, allocations: 4 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006324, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.006454, allocations: 20.25 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.006469, allocations: 4 kB / 0.8222 GB, free: 14.63 MB / 0.8073 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 7.488e-05/0.006544, allocations: 117.8 kB / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.006554, allocations: 7.938 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.006574, allocations: 4 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.006578, allocations: 11.94 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006579, allocations: 0 / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006583, allocations: 4 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.566e-05/0.006648, allocations: 69.88 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.00665, allocations: 0 / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-06/0.006654, allocations: 0 / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.00666, allocations: 4 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006662, allocations: 0 / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-06/0.006665, allocations: 0 / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006666, allocations: 0 / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.006669, allocations: 3.938 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.536e-05/0.006734, allocations: 73.11 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006744, allocations: 4.281 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.006757, allocations: 0 / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.006775, allocations: 0 / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.006781, allocations: 11.86 kB / 0.8225 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.563e-05/0.006797, allocations: 8.859 kB / 0.8225 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006797, allocations: 4 kB / 0.8225 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001699/0.006967, allocations: 16 kB / 0.8226 GB, free: 14.25 MB / 0.8073 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.000113/0.00708, allocations: 96.31 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.007231, allocations: 129.9 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.007234, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.007255, allocations: 16.8 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.007366, allocations: 19.98 kB / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.007816, allocations: 108.6 kB / 0.8229 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.007851, allocations: 63.14 kB / 0.823 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.007869, allocations: 4 kB / 0.823 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.007955, allocations: 67.53 kB / 0.823 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.007955, allocations: 4 kB / 0.823 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.003627/0.01158, allocations: 1.347 MB / 0.8244 GB, free: 12.35 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.434396935626864]