Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007412/0.007412, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 197.3 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.852/2.852, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 1.019 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3856, allocations: 151.6 MB / 1.167 GB, free: 6.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002451/0.3881, allocations: 0.5873 MB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3901, allocations: 1.117 MB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.3901, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.3902, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3903, allocations: 7.922 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.391, allocations: 122.8 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.3912, allocations: 99.88 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3914, allocations: 4 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3915, allocations: 35.91 kB / 1.169 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3916, allocations: 31.89 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.3916, allocations: 8 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3918, allocations: 19.98 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.3918, allocations: 4 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.3919, allocations: 35.89 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3921, allocations: 83.73 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3921, allocations: 0 / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3921, allocations: 0 / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3921, allocations: 0 / 1.169 GB, free: 4.77 MB / 0.92 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.0007006/0.3928, allocations: 377.1 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.3929, allocations: 8.031 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/0.393, allocations: 8.891 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3932, allocations: 168.4 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3932, allocations: 384 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3932, allocations: 4.375 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3934, allocations: 50.19 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3934, allocations: 192 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3934, allocations: 7.875 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3934, allocations: 0 / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.3934, allocations: 8 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.394, allocations: 276.9 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.3941, allocations: 38.39 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.3941, allocations: 8.844 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3941, allocations: 4.062 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3944, allocations: 51.41 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.3944, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002599/0.3947, allocations: 73.56 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3947, allocations: 51.41 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3948, allocations: 113.8 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3949, allocations: 29.7 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.3949, allocations: 84.14 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.395, allocations: 7.953 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.3951, allocations: 29.7 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3952, allocations: 318.8 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.3953, allocations: 27.98 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.3954, allocations: 46.75 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3956, allocations: 88.23 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3956, allocations: 3.938 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002833/0.3959, allocations: 143.3 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.3959, allocations: 37.69 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.396, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.396, allocations: 96 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-05/0.396, allocations: 4 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.396, allocations: 4 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3963, allocations: 27.92 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.3963, allocations: 8 kB / 1.171 GB, free: 2.434 MB / 0.92 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.0001336/0.3965, allocations: 113.8 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.3965, allocations: 7.984 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.3965, allocations: 7.906 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3965, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3965, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3966, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3968, allocations: 169.5 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3968, allocations: 7.875 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.3968, allocations: 3.984 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3968, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3968, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3968, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3968, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.397, allocations: 89.02 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.397, allocations: 77.11 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3971, allocations: 4.297 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.3971, allocations: 4 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3971, allocations: 7.938 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.3971, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.625e-05/0.3972, allocations: 87.28 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3972, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002307/0.3975, allocations: 19.98 kB / 1.171 GB, free: 1.738 MB / 0.92 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.000216/0.3977, allocations: 103.2 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.398, allocations: 119.4 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.398, allocations: 0 / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.398, allocations: 12 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3983, allocations: 19.84 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.3987, allocations: 122.2 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3991, allocations: 0.6807 MB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.3992, allocations: 4 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.3992, allocations: 7.438 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3992, allocations: 0 / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of Templates: time 0.00427/0.4035, allocations: 1.079 MB / 1.173 GB, free: 15.54 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches