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.001003/0.001003, allocations: 98.88 kB / 16.02 MB, free: 76 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.001236/0.001236, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003756, allocations: 12.59 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.366, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001135/0.3672, allocations: 482.8 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3689, allocations: 1.155 MB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.369, allocations: 0 / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.3691, allocations: 3.938 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.3692, allocations: 11.88 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3697, allocations: 122.6 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3699, allocations: 107.8 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.37, allocations: 15.91 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3701, allocations: 39.91 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.3702, allocations: 39.81 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3702, allocations: 8 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.3703, allocations: 15.98 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.3703, allocations: 4 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.3704, allocations: 61.55 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3706, allocations: 83.81 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3706, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3706, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3706, allocations: 0 / 1.061 GB, free: 2.832 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.0006255/0.3712, allocations: 397.3 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3713, allocations: 11.97 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.3714, allocations: 12.78 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3715, allocations: 180.2 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3715, allocations: 8.375 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.3716, allocations: 12.36 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.3718, allocations: 66.22 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3718, allocations: 4.188 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3718, allocations: 7.922 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3719, allocations: 0 / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.3721, allocations: 51.97 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.3726, allocations: 328.7 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.3729, allocations: 70.55 kB / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.373, allocations: 40.95 kB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.373, allocations: 8 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.3733, allocations: 91.3 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3733, allocations: 0 / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004987/0.3738, allocations: 157.6 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3739, allocations: 59.34 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.374, allocations: 113.8 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.374, allocations: 33.7 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.3741, allocations: 100 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3741, allocations: 15.81 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.3742, allocations: 21.7 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3743, allocations: 314.8 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.3745, allocations: 63.89 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.3746, allocations: 92.25 kB / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.375, allocations: 153.8 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.375, allocations: 3.938 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005196/0.3755, allocations: 227.2 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.3755, allocations: 37.69 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3756, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3756, allocations: 4 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.3757, allocations: 11.98 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3757, allocations: 4 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.3759, allocations: 51.94 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.376, allocations: 7.984 kB / 1.064 GB, free: 15.84 MB / 0.8262 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.0001047/0.3761, allocations: 125.7 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3761, allocations: 7.906 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.3762, allocations: 12.38 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3762, allocations: 4 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3762, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3762, allocations: 3.984 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.3767, allocations: 386.9 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3767, allocations: 0 / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.3768, allocations: 19.92 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3768, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3768, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3768, allocations: 80 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3768, allocations: 3.984 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3771, allocations: 219.3 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3772, allocations: 89 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3772, allocations: 4 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.3773, allocations: 12 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3774, allocations: 3.984 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3774, allocations: 7.938 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.3774, allocations: 91.27 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.472e-06/0.3774, allocations: 0 / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002697/0.3777, allocations: 27.94 kB / 1.065 GB, free: 14.75 MB / 0.8262 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.0001818/0.3779, allocations: 109.9 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.3783, allocations: 199.1 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3783, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3785, allocations: 39.98 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3788, allocations: 21.11 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3792, allocations: 208.9 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3795, allocations: 0.6888 MB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.3795, allocations: 11.44 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3795, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.003024/0.3825, allocations: 1.242 MB / 1.067 GB, free: 12.16 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