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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001879/0.001879, allocations: 114.7 kB / 16.42 MB, free: 6.508 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.002583/0.002583, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 63.91 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.061, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002374/1.064, allocations: 0.7459 MB / 1.227 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001739/1.066, allocations: 1.151 MB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/1.066, allocations: 0 / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.971e-05/1.066, allocations: 3.938 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/1.066, allocations: 15.86 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/1.067, allocations: 130.1 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/1.067, allocations: 123.8 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/1.067, allocations: 19.97 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/1.067, allocations: 47.91 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/1.067, allocations: 43.88 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/1.067, allocations: 15.94 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.194e-05/1.067, allocations: 19.98 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/1.067, allocations: 15.98 kB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.541e-05/1.067, allocations: 43.78 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/1.068, allocations: 107.2 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.068, allocations: 0 / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.118e-06/1.068, allocations: 4 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.068, allocations: 4 kB / 1.229 GB, free: 11 MB / 0.9512 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.0007007/1.068, allocations: 416.5 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.068, allocations: 12.02 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/1.069, allocations: 4.938 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.069, allocations: 176.3 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/1.069, allocations: 4.375 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/1.069, allocations: 12.38 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/1.069, allocations: 66.16 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.069, allocations: 192 / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/1.069, allocations: 7.938 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/1.069, allocations: 0 / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/1.069, allocations: 39.95 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/1.07, allocations: 328.8 kB / 1.23 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.07, allocations: 70.48 kB / 1.23 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/1.07, allocations: 28.97 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/1.07, allocations: 3.938 kB / 1.23 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/1.07, allocations: 91.42 kB / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/1.07, allocations: 7.938 kB / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004516/1.071, allocations: 141.5 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.071, allocations: 51.41 kB / 1.23 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.071, allocations: 121.8 kB / 1.23 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/1.071, allocations: 25.7 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/1.071, allocations: 92.14 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/1.071, allocations: 31.77 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/1.071, allocations: 37.7 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.071, allocations: 322.8 kB / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.072, allocations: 51.97 kB / 1.231 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/1.072, allocations: 87.38 kB / 1.231 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/1.072, allocations: 145.9 kB / 1.231 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.072, allocations: 3.938 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004555/1.073, allocations: 211.1 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/1.073, allocations: 41.69 kB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.073, allocations: 0 / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.073, allocations: 0 / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/1.073, allocations: 11.98 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.073, allocations: 7.938 kB / 1.231 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/1.073, allocations: 32.09 kB / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/1.073, allocations: 11.98 kB / 1.231 GB, free: 8.078 MB / 0.9512 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.0001158/1.073, allocations: 122.3 kB / 1.231 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/1.073, allocations: 7.953 kB / 1.231 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/1.073, allocations: 12.36 kB / 1.231 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.073, allocations: 3.984 kB / 1.231 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.073, allocations: 4 kB / 1.231 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/1.073, allocations: 85 kB / 1.232 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/1.073, allocations: 4 kB / 1.232 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/1.073, allocations: 11.92 kB / 1.232 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/1.073, allocations: 11.94 kB / 1.232 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003204/1.074, allocations: 192.8 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003518/1.074, allocations: 284.3 kB / 1.232 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001079/1.074, allocations: 35.97 kB / 1.232 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.058e-05/1.074, allocations: 95.27 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of Backend: time 6.41e-07/1.074, allocations: 0 / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006335/1.075, allocations: 228.1 kB / 1.232 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006022/1.076, allocations: 0.6207 MB / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of Templates: time 0.004707/1.08, allocations: 1.542 MB / 1.235 GB, free: 4.734 MB / 0.9512 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