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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007155/0.007155, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001723/0.001723, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.83 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002144/0.3259, allocations: 0.6571 MB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3275, allocations: 1.124 MB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.3275, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.3276, allocations: 3.938 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.3277, allocations: 4 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.3282, allocations: 110.7 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3283, allocations: 79.88 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.3284, allocations: 8 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.3285, allocations: 31.91 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.3286, allocations: 19.91 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3286, allocations: 8 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.039e-05/0.3287, allocations: 15.98 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.3287, allocations: 7.984 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.3288, allocations: 27.86 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.3289, allocations: 55.88 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3289, allocations: 8 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3289, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.3289, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.8106 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.0004864/0.3294, allocations: 377.4 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3295, allocations: 11.97 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.3295, allocations: 12.83 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3296, allocations: 160.4 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3297, allocations: 8.375 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3297, allocations: 8.312 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3298, allocations: 38.25 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3298, allocations: 4.188 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3298, allocations: 7.875 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3298, allocations: 0 / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.3299, allocations: 8 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.3303, allocations: 276.9 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.653e-05/0.3304, allocations: 34.5 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.3304, allocations: 8.859 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.3304, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.3306, allocations: 63.39 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3306, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002142/0.3308, allocations: 69.58 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3309, allocations: 51.41 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.331, allocations: 105.8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.331, allocations: 33.7 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.3311, allocations: 84.14 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.3311, allocations: 7.844 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.3312, allocations: 29.7 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3313, allocations: 322.8 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.3314, allocations: 23.98 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.3315, allocations: 54.88 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3316, allocations: 80.27 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3316, allocations: 3.938 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002556/0.3318, allocations: 143.2 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.3319, allocations: 39.56 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3319, allocations: 4 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3319, allocations: 0 / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.555e-05/0.3319, allocations: 4.094 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.332, allocations: 0 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.3322, allocations: 39.75 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.3322, allocations: 11.98 kB / 1.057 GB, free: 3.754 MB / 0.8106 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 9.698e-05/0.3323, allocations: 113.8 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.3323, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.3324, allocations: 11.91 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3324, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3324, allocations: 7.938 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3324, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.3325, allocations: 161.6 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3325, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.3326, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3326, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3326, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3326, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3326, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.3327, allocations: 92.98 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.3327, allocations: 81.02 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3328, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.3328, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.3328, allocations: 4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3328, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.3329, allocations: 91.27 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3329, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002178/0.3331, allocations: 16 kB / 1.057 GB, free: 3.082 MB / 0.8106 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.0001414/0.3333, allocations: 107.2 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3335, allocations: 119.3 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3335, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.3335, allocations: 19.97 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.3337, allocations: 11.56 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.3341, allocations: 157.7 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3344, allocations: 0.6809 MB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.3344, allocations: 7.438 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3344, allocations: 4 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of Templates: time 0.00249/0.3369, allocations: 0.8706 MB / 1.059 GB, free: 1.039 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches