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.01154/0.01154, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001776/0.001776, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.519/1.519, allocations: 222.9 MB / 240.3 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.943/2.943, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 72.11 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3964, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002445/0.3989, allocations: 0.7477 MB / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4008, allocations: 1.139 MB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.4009, allocations: 0 / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.4009, allocations: 7.875 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.848e-05/0.4011, allocations: 19.78 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.4018, allocations: 138.1 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.4021, allocations: 115.8 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.4022, allocations: 19.98 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4023, allocations: 43.91 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4025, allocations: 51.8 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.4025, allocations: 8 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.4026, allocations: 27.98 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.4026, allocations: 7.984 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.4027, allocations: 43.8 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.403, allocations: 111.7 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.403, allocations: 0 / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.266e-06/0.403, allocations: 0 / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.403, allocations: 0 / 1.21 GB, free: 7.141 MB / 0.9669 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.0007666/0.4038, allocations: 424.9 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4038, allocations: 8.031 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.4039, allocations: 12.84 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4041, allocations: 168.3 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4041, allocations: 4.359 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4041, allocations: 8.375 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.4044, allocations: 62.17 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4044, allocations: 8.188 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4044, allocations: 7.922 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.4044, allocations: 3.984 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.4046, allocations: 43.91 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.4052, allocations: 328.6 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4054, allocations: 66.48 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4055, allocations: 36.95 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.4055, allocations: 4 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.4057, allocations: 91.42 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.4057, allocations: 4 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005149/0.4063, allocations: 137.7 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.4063, allocations: 59.41 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.4065, allocations: 113.8 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.4066, allocations: 29.7 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.4066, allocations: 96.03 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.4067, allocations: 19.8 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.4068, allocations: 41.7 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.407, allocations: 318.8 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.4072, allocations: 55.89 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4074, allocations: 84.25 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.4076, allocations: 153.9 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4077, allocations: 0 / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004623/0.4081, allocations: 211.1 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.4082, allocations: 33.7 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.4082, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4082, allocations: 4 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4083, allocations: 15.98 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4083, allocations: 3.938 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.4086, allocations: 36.02 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4086, allocations: 12 kB / 1.213 GB, free: 4.207 MB / 0.9669 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.0001101/0.4087, allocations: 131.5 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.4087, allocations: 11.84 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.4088, allocations: 8.375 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4088, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4088, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4088, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.4093, allocations: 382.4 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4093, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.4094, allocations: 7.984 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4094, allocations: 0 / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4094, allocations: 4 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4094, allocations: 0 / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4094, allocations: 0 / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.4098, allocations: 215.3 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.4099, allocations: 85.02 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.4099, allocations: 0 / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.41, allocations: 7.984 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.41, allocations: 11.98 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.41, allocations: 3.938 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.4101, allocations: 91.27 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4101, allocations: 8 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002691/0.4104, allocations: 20 kB / 1.214 GB, free: 3.137 MB / 0.9669 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.0001943/0.4106, allocations: 103.2 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.411, allocations: 179.2 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.411, allocations: 0 / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.4112, allocations: 44.16 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.4115, allocations: 15.92 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.4119, allocations: 162.7 kB / 1.214 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.4123, allocations: 0.6846 MB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.497e-05/0.4123, allocations: 11.98 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.4124, allocations: 11.44 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.4124, allocations: 3.938 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.004885/0.4173, allocations: 1.49 MB / 1.216 GB, free: 392 kB / 0.9669 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