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.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.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.001301/0.001301, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001315/0.001315, allocations: 192.6 kB / 16.14 MB, free: 6.645 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.905/2.905, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.95 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3492, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00204/0.3513, allocations: 0.8026 MB / 1.053 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3529, allocations: 1.166 MB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.3529, allocations: 0 / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.353, allocations: 7.875 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.353, allocations: 7.938 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.3535, allocations: 122.8 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3536, allocations: 103.8 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.3537, allocations: 23.89 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.653e-05/0.3538, allocations: 39.92 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.3539, allocations: 39.81 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.3539, allocations: 8 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.354, allocations: 23.98 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.354, allocations: 7.984 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.3541, allocations: 39.84 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3542, allocations: 107.7 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3543, allocations: 0 / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.42e-07/0.3543, allocations: 0 / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.3543, allocations: 0 / 1.055 GB, free: 6.371 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.0005681/0.3548, allocations: 409.3 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3549, allocations: 12.03 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.3549, allocations: 16.83 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.355, allocations: 172.2 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3551, allocations: 4.375 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3551, allocations: 8.375 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3553, allocations: 62.22 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3553, allocations: 192 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3553, allocations: 7.938 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3553, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.3555, allocations: 47.94 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.356, allocations: 328.7 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3562, allocations: 62.55 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3563, allocations: 36.95 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.3564, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3566, allocations: 99.27 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3566, allocations: 7.875 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004434/0.3571, allocations: 137.6 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3571, allocations: 51.41 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.3572, allocations: 125.7 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3572, allocations: 25.7 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.3573, allocations: 92.14 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.3573, allocations: 19.78 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.3574, allocations: 37.7 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3575, allocations: 322.8 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3577, allocations: 51.91 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.3579, allocations: 88.25 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.3582, allocations: 145.8 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3582, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005062/0.3587, allocations: 207.1 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.3587, allocations: 41.81 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3588, allocations: 4 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3588, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.3589, allocations: 11.98 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3589, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.3591, allocations: 39.8 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3591, allocations: 8.062 kB / 1.057 GB, free: 3.457 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 0.0001049/0.3593, allocations: 132.6 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.3593, allocations: 8 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.3593, allocations: 12.36 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3593, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3593, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3593, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.3599, allocations: 374.4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3599, allocations: 7.922 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.36, allocations: 11.94 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.36, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.36, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.36, allocations: 3.984 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.36, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.3603, allocations: 215.8 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.3604, allocations: 81.02 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3604, allocations: 0 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.3605, allocations: 11.98 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3605, allocations: 4 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3605, allocations: 7.938 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.3606, allocations: 95.2 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3606, allocations: 0 / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002699/0.3609, allocations: 32 kB / 1.058 GB, free: 2.379 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.000154/0.361, allocations: 111.2 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.3614, allocations: 175.3 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3614, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3616, allocations: 40.22 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3618, allocations: 12.88 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.3622, allocations: 176.3 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3625, allocations: 0.6926 MB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.3626, allocations: 4 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.3626, allocations: 15.42 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3626, allocations: 0 / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of Templates: time 0.003692/0.3663, allocations: 1.332 MB / 1.061 GB, free: 15.77 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/jenkins/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