Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 196 kB / 16.79 MB, free: 6.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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 68.78 kB / 0.8991 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3432, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002122/0.3454, allocations: 0.7987 MB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.3471, allocations: 1.166 MB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.3471, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.3473, allocations: 7.938 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.3473, allocations: 11.88 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.3478, allocations: 114.5 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.348, allocations: 103.8 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3481, allocations: 23.88 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3482, allocations: 39.92 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.3483, allocations: 35.83 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.3483, allocations: 8 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.3484, allocations: 19.98 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.3484, allocations: 19.91 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.3485, allocations: 35.84 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.3487, allocations: 75.84 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3487, allocations: 3.984 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.22e-07/0.3487, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3487, allocations: 4 kB / 1.055 GB, free: 5.824 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006562/0.3494, allocations: 413.3 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3494, allocations: 11.97 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.3495, allocations: 16.78 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3496, allocations: 168.3 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3496, allocations: 4.375 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.3497, allocations: 8.375 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3499, allocations: 62.22 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3499, allocations: 192 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3499, allocations: 7.938 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3499, allocations: 4 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.3501, allocations: 43.89 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3507, allocations: 336.7 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3509, allocations: 66.48 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.351, allocations: 32.97 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.351, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.3512, allocations: 91.27 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.3513, allocations: 4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004672/0.3517, allocations: 133.7 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3518, allocations: 63.34 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.3519, allocations: 121.7 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3519, allocations: 29.7 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.352, allocations: 88.14 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.352, allocations: 19.8 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.3521, allocations: 37.7 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3522, allocations: 322.8 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3524, allocations: 47.97 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.3526, allocations: 84.25 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3529, allocations: 149.7 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3529, allocations: 0 / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004706/0.3534, allocations: 215.1 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.3534, allocations: 39.25 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3534, allocations: 320 / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3535, allocations: 4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.3536, allocations: 15.98 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3536, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3538, allocations: 43.92 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.3538, allocations: 11.98 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.806e-05/0.3539, allocations: 125.7 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.354, allocations: 4 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.354, allocations: 12.36 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.354, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.354, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.354, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3545, allocations: 386.3 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3545, allocations: 4 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.3546, allocations: 4 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3546, allocations: 0 / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3546, allocations: 4.047 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.3546, allocations: 8 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3546, allocations: 0 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.3549, allocations: 211.4 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.355, allocations: 84.95 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.355, allocations: 4 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.3551, allocations: 7.984 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3552, allocations: 4 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3552, allocations: 11.92 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.3553, allocations: 91.83 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002829/0.3555, allocations: 27.98 kB / 1.059 GB, free: 1.832 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001904/0.3557, allocations: 110.8 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.3562, allocations: 179.5 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3562, allocations: 4.062 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3563, allocations: 39.91 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3566, allocations: 11.94 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.357, allocations: 210 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3573, allocations: 0.6848 MB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.3574, allocations: 11.44 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of SimCode: time 9.62e-07/0.3574, allocations: 0 / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of Templates: time 0.003253/0.3606, allocations: 1.25 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches