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.00119/0.00119, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001158/0.001158, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 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.475/2.475, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2993, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001915/0.3012, allocations: 0.589 MB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3027, allocations: 1.126 MB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.3027, allocations: 0 / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.3028, allocations: 4 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.3028, allocations: 7.875 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.3033, allocations: 124.1 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3034, allocations: 91.89 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.3035, allocations: 11.97 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.3036, allocations: 27.98 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.3037, allocations: 35.89 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3037, allocations: 8 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.3038, allocations: 23.92 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.3038, allocations: 7.984 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.3039, allocations: 27.92 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.304, allocations: 83.78 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3041, allocations: 0 / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3041, allocations: 4 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.3041, allocations: 0 / 1.021 GB, free: 7.715 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.0004451/0.3045, allocations: 373.1 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3046, allocations: 12.92 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3046, allocations: 8.844 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3047, allocations: 160.4 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3047, allocations: 12.38 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3048, allocations: 8.359 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.3049, allocations: 30.27 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3049, allocations: 192 / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3049, allocations: 3.938 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3049, allocations: 4 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.3049, allocations: 11.92 kB / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.3053, allocations: 284.9 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.221e-05/0.3053, allocations: 22.52 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.3054, allocations: 8.922 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.3054, allocations: 3.938 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.3055, allocations: 63.33 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3055, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001856/0.3057, allocations: 61.59 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3057, allocations: 63.39 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3058, allocations: 101.9 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3059, allocations: 29.7 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3059, allocations: 92.06 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.306, allocations: 7.891 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.306, allocations: 29.7 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3061, allocations: 314.8 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.3062, allocations: 31.92 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.3063, allocations: 54.55 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3064, allocations: 76.5 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3064, allocations: 12.23 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002151/0.3066, allocations: 139.3 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.3067, allocations: 33.7 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3067, allocations: 8.094 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3067, allocations: 7.938 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.4e-05/0.3067, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3067, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3069, allocations: 39.8 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.307, allocations: 4 kB / 1.023 GB, free: 5.375 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.516e-05/0.307, allocations: 118.4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.3071, allocations: 4 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.3071, allocations: 7.906 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3071, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3071, allocations: 7.984 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3071, allocations: 0 / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.3072, allocations: 157.6 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3072, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.3072, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3073, allocations: 4 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3073, allocations: 0 / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3073, allocations: 0 / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3073, allocations: 7.984 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.3074, allocations: 84.94 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.3074, allocations: 85.02 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3074, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.3075, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3075, allocations: 7.984 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3075, allocations: 0 / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.3076, allocations: 83.28 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3076, allocations: 4 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002004/0.3078, allocations: 16 kB / 1.023 GB, free: 4.699 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.0001343/0.3079, allocations: 107.2 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3081, allocations: 115.3 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3081, allocations: 4 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.3081, allocations: 8 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.3083, allocations: 24.05 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.3086, allocations: 118.2 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3089, allocations: 0.6768 MB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.3089, allocations: 4 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.3089, allocations: 11.38 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3089, allocations: 0 / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of Templates: time 0.003074/0.312, allocations: 1.073 MB / 1.026 GB, free: 2.504 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 gbode -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