Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001119/0.001119, allocations: 184.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 98.97 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.839e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9523/1.26, allocations: 148.9 MB / 1.351 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.26, allocations: 67.12 kB / 1.351 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007284/1.268, allocations: 2.09 MB / 1.354 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.268, allocations: 0 / 1.354 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.268, allocations: 0 / 1.354 GB, free: 33.93 MB / 0.8386 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.0005201/1.268, allocations: 395.7 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.268, allocations: 11.62 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.268, allocations: 5.188 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.269, allocations: 184.1 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.269, allocations: 3.844 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/1.269, allocations: 4.547 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.363e-05/1.269, allocations: 23.98 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.591e-05/1.269, allocations: 45.62 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/1.269, allocations: 3.938 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.269, allocations: 0.6562 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.269, allocations: 3.984 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/1.269, allocations: 306.8 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/1.27, allocations: 44.94 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/1.27, allocations: 19.97 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/1.27, allocations: 8.594 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/1.27, allocations: 74.06 kB / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/1.27, allocations: 0 / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001978/1.27, allocations: 79.12 kB / 1.355 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/1.27, allocations: 59.56 kB / 1.355 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/1.27, allocations: 106.6 kB / 1.355 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.27, allocations: 29.58 kB / 1.355 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/1.27, allocations: 97.22 kB / 1.355 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/1.27, allocations: 20.94 kB / 1.355 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/1.27, allocations: 0 / 1.355 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.27, allocations: 325.5 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/1.271, allocations: 32.88 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/1.271, allocations: 64.88 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/1.271, allocations: 46.58 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.271, allocations: 0 / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003748/1.271, allocations: 153.5 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/1.271, allocations: 37.59 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.271, allocations: 7.812 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.271, allocations: 0.6562 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/1.271, allocations: 22.58 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.271, allocations: 0.5625 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/1.272, allocations: 41.66 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.272, allocations: 12.86 kB / 1.356 GB, free: 32.19 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.767e-05/1.272, allocations: 118.3 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/1.272, allocations: 12.14 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/1.272, allocations: 9.719 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.272, allocations: 0 / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.272, allocations: 0 / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.272, allocations: 0.75 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/1.272, allocations: 320.8 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.272, allocations: 4.391 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/1.272, allocations: 14.73 kB / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.272, allocations: 0 / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.272, allocations: 0.6094 kB / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.272, allocations: 0 / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.272, allocations: 0.6094 kB / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/1.273, allocations: 182.2 kB / 1.356 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/1.273, allocations: 85.55 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/1.273, allocations: 1.266 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/1.273, allocations: 10.12 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/1.273, allocations: 6.938 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.273, allocations: 6.469 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.919e-05/1.273, allocations: 88.73 kB / 1.356 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.273, allocations: 0 / 1.356 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002843/1.273, allocations: 28.77 kB / 1.357 GB, free: 31.48 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.000207/1.273, allocations: 109 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002432/1.274, allocations: 151.1 kB / 1.357 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.274, allocations: 3.875 kB / 1.357 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/1.274, allocations: 18.34 kB / 1.357 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/1.274, allocations: 23.12 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/1.274, allocations: 101.9 kB / 1.357 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/1.274, allocations: 0.6886 MB / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.017e-05/1.275, allocations: 9.641 kB / 1.358 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/1.275, allocations: 14.75 kB / 1.358 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.275, allocations: 0 / 1.358 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.00491/1.279, allocations: 1.185 MB / 1.359 GB, free: 30.41 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches