Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008068/0.008068, allocations: 102 kB / 15.73 MB, free: 5.988 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.001667/0.001667, allocations: 196 kB / 16.67 MB, free: 5.926 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.666/2.666, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 62.94 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3218, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001935/0.3237, allocations: 0.5872 MB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3253, allocations: 1.114 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.3254, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.3254, allocations: 3.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.3255, allocations: 11.94 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.3261, allocations: 121.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.3264, allocations: 99.8 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3265, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.3266, allocations: 31.98 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3267, allocations: 35.88 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3268, allocations: 8 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.3269, allocations: 23.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.3269, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.327, allocations: 23.92 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.3272, allocations: 91.7 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3272, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3272, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3272, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 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.0006393/0.3279, allocations: 373.1 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3279, allocations: 12.03 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/0.328, allocations: 8.938 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3281, allocations: 168.4 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3282, allocations: 12.36 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3282, allocations: 4.375 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3283, allocations: 38.25 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3284, allocations: 192 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3284, allocations: 3.938 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3284, allocations: 4 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.3284, allocations: 3.938 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.3289, allocations: 292.8 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.329, allocations: 18.52 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.329, allocations: 8.922 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.329, allocations: 3.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.3292, allocations: 63.25 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3292, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002196/0.3294, allocations: 61.67 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3295, allocations: 59.41 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3296, allocations: 113.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3297, allocations: 25.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.3297, allocations: 84.14 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3297, allocations: 11.84 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.3298, allocations: 33.64 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.3301, allocations: 310.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.3301, allocations: 31.97 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.3302, allocations: 54.5 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3304, allocations: 76.27 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3304, allocations: 3.938 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002533/0.3306, allocations: 143.3 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.3307, allocations: 37.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3307, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3307, allocations: 7.984 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.111e-05/0.3308, allocations: 3.938 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.3308, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.331, allocations: 27.88 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.331, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 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.0001095/0.3311, allocations: 121.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.3311, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.3312, allocations: 7.891 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3312, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3312, allocations: 4.312 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3312, allocations: 240 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3313, allocations: 157.6 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3314, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.3314, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3314, allocations: 7.969 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3314, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3314, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3314, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3315, allocations: 81 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.3316, allocations: 85.02 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3316, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.682e-05/0.3316, allocations: 7.922 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.3317, allocations: 4 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3317, allocations: 4 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.3317, allocations: 83.28 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3317, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002239/0.332, allocations: 20 kB / 1.093 GB, free: 12.36 MB / 0.8575 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.000164/0.3321, allocations: 103.7 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3324, allocations: 119.3 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3324, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.3324, allocations: 12 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3326, allocations: 17.67 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.333, allocations: 122.2 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3332, allocations: 0.6768 MB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.3333, allocations: 4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.3333, allocations: 7.438 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3333, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.004369/0.3377, allocations: 1.085 MB / 1.095 GB, free: 10.16 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches