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.001026/0.001026, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007393/0.007394, allocations: 170.7 kB / 16.26 MB, free: 6.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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.027/3.027, allocations: 462.6 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 9.156 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4218, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001098/0.423, allocations: 482.8 kB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4245, allocations: 1.155 MB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.4246, allocations: 0 / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.4246, allocations: 3.938 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.4247, allocations: 7.922 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.4252, allocations: 123.3 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.4253, allocations: 107.8 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4254, allocations: 27.88 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.4255, allocations: 39.91 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.4256, allocations: 47.75 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.4256, allocations: 4 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.4257, allocations: 15.98 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.4257, allocations: 8 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.4258, allocations: 61.55 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.426, allocations: 111.6 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.426, allocations: 0 / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.248e-06/0.426, allocations: 3.984 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.426, allocations: 4 kB / 1.061 GB, free: 3.266 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.0005437/0.4266, allocations: 393.4 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4266, allocations: 12.02 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.4267, allocations: 12.84 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.4268, allocations: 164.3 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4268, allocations: 4.375 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4268, allocations: 8.375 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.427, allocations: 74.22 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4271, allocations: 192 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4271, allocations: 3.938 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4271, allocations: 0 / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4273, allocations: 59.89 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.4278, allocations: 332.7 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.428, allocations: 66.55 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.4281, allocations: 44.91 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.4281, allocations: 0 / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.4283, allocations: 91.36 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.4283, allocations: 0 / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004547/0.4288, allocations: 153.5 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.4288, allocations: 67.28 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.4289, allocations: 117.8 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.429, allocations: 29.7 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.4291, allocations: 92.05 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.4291, allocations: 23.86 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.4291, allocations: 17.72 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.4293, allocations: 326.8 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.4294, allocations: 51.97 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.4296, allocations: 88.25 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.4299, allocations: 161.8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4299, allocations: 0 / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004462/0.4304, allocations: 219.1 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.4304, allocations: 33.83 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.4304, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4305, allocations: 4 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4306, allocations: 19.92 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.4306, allocations: 4 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.4308, allocations: 51.89 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.4309, allocations: 8 kB / 1.063 GB, free: 308 kB / 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.0001169/0.431, allocations: 128.5 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.431, allocations: 11.89 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.431, allocations: 8.375 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.431, allocations: 4 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4311, allocations: 0 / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4311, allocations: 4 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.4316, allocations: 386.4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4316, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.4316, allocations: 15.98 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4317, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4317, allocations: 7.922 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4317, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4317, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.432, allocations: 227.8 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.4321, allocations: 89.02 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.4321, allocations: 3.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.4322, allocations: 11.98 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.4322, allocations: 7.969 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4322, allocations: 11.94 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.4323, allocations: 95.27 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4323, allocations: 0 / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002607/0.4326, allocations: 24 kB / 1.064 GB, free: 15.19 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.0001823/0.4328, allocations: 107.1 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.4332, allocations: 191.3 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4332, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.4333, allocations: 39.97 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.4336, allocations: 15.94 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.434, allocations: 175.6 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.4343, allocations: 0.6887 MB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.4343, allocations: 4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.4344, allocations: 15.38 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.4344, allocations: 4 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.003995/0.4384, allocations: 1.329 MB / 1.067 GB, free: 12.57 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