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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.35/2.35, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 184.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009327/0.0009328, allocations: 83.95 kB / 0.9318 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.429e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.481, allocations: 150.4 MB / 1.366 GB, free: 3.641 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.481, allocations: 64.62 kB / 1.366 GB, free: 3.609 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006637/1.488, allocations: 2.098 MB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.657e-06/1.488, allocations: 0 / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.488, allocations: 3.938 kB / 1.368 GB, free: 1.777 MB / 0.823 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.0005128/1.489, allocations: 395.4 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.489, allocations: 12.03 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/1.489, allocations: 4 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/1.489, allocations: 186.8 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.489, allocations: 4 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/1.489, allocations: 7.75 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/1.489, allocations: 47.25 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.489, allocations: 4 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/1.489, allocations: 4 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.489, allocations: 0 / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/1.489, allocations: 17.19 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/1.49, allocations: 331.2 kB / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/1.49, allocations: 48.02 kB / 1.369 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/1.49, allocations: 30.95 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/1.49, allocations: 0 / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/1.49, allocations: 84.31 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/1.49, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002517/1.491, allocations: 81.78 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/1.491, allocations: 63.36 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.491, allocations: 107.7 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/1.491, allocations: 32.95 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/1.491, allocations: 94.72 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/1.491, allocations: 14.86 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/1.491, allocations: 7.5 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.491, allocations: 322.2 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/1.491, allocations: 36.88 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/1.491, allocations: 80.47 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/1.491, allocations: 64.88 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.491, allocations: 0 / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003068/1.492, allocations: 187.8 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/1.492, allocations: 37.7 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.492, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.492, allocations: 4.875 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.492, allocations: 14.67 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.492, allocations: 4 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/1.492, allocations: 51.91 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/1.492, allocations: 7.625 kB / 1.37 GB, free: 15.37 MB / 0.8386 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.786e-05/1.492, allocations: 121.3 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/1.492, allocations: 3.906 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/1.492, allocations: 15.8 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.492, allocations: 0 / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.492, allocations: 8.062 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.492, allocations: 0 / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/1.493, allocations: 342.8 kB / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.493, allocations: 0 / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/1.493, allocations: 19.73 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.493, allocations: 4 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.493, allocations: 0 / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/1.493, allocations: 4 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.493, allocations: 3.953 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/1.493, allocations: 180.4 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/1.493, allocations: 80.23 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/1.493, allocations: 3.984 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/1.493, allocations: 8 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/1.493, allocations: 11.94 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/1.493, allocations: 7.188 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.679e-05/1.493, allocations: 101.2 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.493, allocations: 0 / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002467/1.494, allocations: 27.72 kB / 1.371 GB, free: 14.41 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/1.494, allocations: 111.2 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002746/1.494, allocations: 156.9 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.494, allocations: 256 / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/1.494, allocations: 30.86 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/1.494, allocations: 8 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/1.495, allocations: 106.9 kB / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.495, allocations: 0.6926 MB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.651e-05/1.495, allocations: 7.781 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/1.495, allocations: 15.44 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.495, allocations: 3.938 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.00399/1.499, allocations: 1.268 MB / 1.373 GB, free: 12.02 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches