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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001419/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001707/0.001707, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.833/2.833, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.56 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002006/0.3529, allocations: 0.6555 MB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3543, allocations: 1.131 MB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.3543, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.3544, allocations: 4 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.3544, allocations: 7.922 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.3548, allocations: 114.9 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.3549, allocations: 79.88 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.355, allocations: 8 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.3551, allocations: 23.98 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.617e-05/0.3552, allocations: 31.89 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3552, allocations: 7.938 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-05/0.3553, allocations: 11.98 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.3553, allocations: 8 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.3553, allocations: 23.91 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.3555, allocations: 83.73 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3555, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3555, allocations: 7.984 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3555, allocations: 0 / 1.054 GB, free: 6.621 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.0004803/0.356, allocations: 377.4 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3561, allocations: 8.031 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3561, allocations: 8.844 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3562, allocations: 164.4 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3562, allocations: 384 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3563, allocations: 12.36 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.3564, allocations: 38.25 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3564, allocations: 4.188 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3564, allocations: 3.938 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3564, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.3564, allocations: 7.938 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3568, allocations: 284.9 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.3569, allocations: 26.52 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.3569, allocations: 12.92 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-06/0.3569, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.357, allocations: 67.33 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.995e-06/0.357, allocations: 0 / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001777/0.3572, allocations: 65.53 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3573, allocations: 51.41 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.3574, allocations: 105.8 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3574, allocations: 29.7 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.3574, allocations: 96.12 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.3575, allocations: 3.906 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.3575, allocations: 33.69 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3577, allocations: 310.8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.3578, allocations: 31.98 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.3578, allocations: 46.81 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.358, allocations: 84.27 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.358, allocations: 3.938 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002352/0.3582, allocations: 143.3 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.3583, allocations: 41.69 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3583, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3583, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.728e-05/0.3583, allocations: 4 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3583, allocations: 11.97 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3585, allocations: 31.81 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3586, allocations: 7.984 kB / 1.056 GB, free: 4.277 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 7.874e-05/0.3587, allocations: 117.8 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.3587, allocations: 4 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.3587, allocations: 3.906 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3587, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3587, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3587, allocations: 4 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.3589, allocations: 169.6 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3589, allocations: 240 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-06/0.3589, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3589, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3589, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3589, allocations: 4 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3589, allocations: 3.984 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.359, allocations: 88.98 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.3591, allocations: 81.02 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3591, allocations: 4 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.3591, allocations: 3.938 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.3591, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3591, allocations: 7.984 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.3592, allocations: 83.28 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3592, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000211/0.3594, allocations: 12 kB / 1.057 GB, free: 3.602 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.0001253/0.3595, allocations: 107.2 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3597, allocations: 123.3 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3598, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.3598, allocations: 8 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.36, allocations: 16.78 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.3603, allocations: 116.1 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3605, allocations: 0.677 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.3606, allocations: 4 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.3606, allocations: 7.438 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3606, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Templates: time 0.003174/0.3638, allocations: 1.027 MB / 1.059 GB, free: 1.469 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/jenkins/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