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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001671/0.001671, allocations: 110.9 kB / 16.37 MB, free: 5.539 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.001798/0.001798, allocations: 194.3 kB / 17.31 MB, free: 5.18 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 61.72 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3428, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001983/0.3448, allocations: 0.5821 MB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3461, allocations: 1.118 MB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.3462, allocations: 0 / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.3462, allocations: 7.875 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.3463, allocations: 0 / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3468, allocations: 125.1 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.3469, allocations: 107.8 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.347, allocations: 0 / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.3471, allocations: 27.98 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.3472, allocations: 31.89 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3473, allocations: 8 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.3473, allocations: 27.97 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.3473, allocations: 8 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3474, allocations: 27.92 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3476, allocations: 79.78 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3476, allocations: 0 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3476, allocations: 0 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3476, allocations: 0 / 1.021 GB, free: 7.656 MB / 0.795 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.0004685/0.3481, allocations: 381.1 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3481, allocations: 8.922 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3481, allocations: 8.844 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.3483, allocations: 172.3 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3483, allocations: 8.312 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3483, allocations: 8.375 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.365e-05/0.3484, allocations: 38.25 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3484, allocations: 192 / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3484, allocations: 3.938 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3484, allocations: 0 / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.3485, allocations: 8 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.3488, allocations: 280.9 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.3489, allocations: 30.45 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.3489, allocations: 8.797 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3489, allocations: 3.984 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.349, allocations: 55.47 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.349, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001841/0.3492, allocations: 77.52 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.3493, allocations: 51.41 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.3493, allocations: 105.8 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3494, allocations: 33.7 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.3494, allocations: 84.12 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.3495, allocations: 7.906 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.3495, allocations: 25.7 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3496, allocations: 318.8 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.3497, allocations: 31.97 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/0.3498, allocations: 50.56 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.3499, allocations: 80.52 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3499, allocations: 3.938 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002253/0.3501, allocations: 147.3 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.3502, allocations: 33.8 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3502, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3502, allocations: 3.984 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/0.3502, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3502, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3504, allocations: 31.81 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3504, allocations: 15.98 kB / 1.023 GB, free: 5.309 MB / 0.795 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 8.271e-05/0.3505, allocations: 116.2 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.3505, allocations: 4.234 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.3506, allocations: 19.88 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3506, allocations: 3.938 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3506, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3506, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3507, allocations: 157.6 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3507, allocations: 0 / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/0.3507, allocations: 7.938 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3508, allocations: 3.984 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.3508, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3508, allocations: 4 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3508, allocations: 3.938 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.3509, allocations: 81.06 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.3509, allocations: 81.02 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3509, allocations: 0 / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.593e-05/0.351, allocations: 3.984 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.351, allocations: 4 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.351, allocations: 0 / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.3511, allocations: 87.28 kB / 1.023 GB, free: 4.645 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3511, allocations: 3.938 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002018/0.3513, allocations: 16 kB / 1.023 GB, free: 4.625 MB / 0.795 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.0001396/0.3514, allocations: 107.2 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3516, allocations: 115.4 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3516, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.3517, allocations: 15.94 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.3519, allocations: 18.7 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.3522, allocations: 118.2 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3527, allocations: 0.6768 MB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.3527, allocations: 4 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.3527, allocations: 7.438 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3527, allocations: 4 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of Templates: time 0.003318/0.356, allocations: 1.078 MB / 1.026 GB, free: 2.426 MB / 0.795 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 -s cvode -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/jenkins1/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