Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 249.3 MB / 261.8 MB, free: 5.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008521, allocations: 87.73 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.913e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1999, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.683/0.8829, allocations: 131.6 MB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.8832, allocations: 72.08 kB / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002807/0.886, allocations: 0.9612 MB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.432e-06/0.886, allocations: 0 / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.8861, allocations: 0 / 1.021 GB, free: 2.203 MB / 0.6355 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.0004549/0.8865, allocations: 371.8 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8866, allocations: 8.031 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.8866, allocations: 7.906 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.8867, allocations: 179 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.8868, allocations: 0 / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.8868, allocations: 7.984 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.8869, allocations: 52.56 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.8869, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.887, allocations: 3.438 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.887, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.887, allocations: 19.31 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.8876, allocations: 300.4 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.8878, allocations: 49.81 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.8878, allocations: 15.55 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.8879, allocations: 4 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.8879, allocations: 33.19 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8879, allocations: 0 / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001749/0.8881, allocations: 48.28 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.8881, allocations: 58.09 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.8882, allocations: 103.8 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.8882, allocations: 25.7 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.8883, allocations: 98.81 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.8883, allocations: 7.812 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.8883, allocations: 0 / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8885, allocations: 318.4 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.8885, allocations: 9.344 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.8885, allocations: 11.56 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.8886, allocations: 11.3 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8886, allocations: 0 / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.642e-05/0.8887, allocations: 48.52 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8887, allocations: 4 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8887, allocations: 7.984 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8887, allocations: 0 / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.8888, allocations: 16.12 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.8888, allocations: 0 / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.8889, allocations: 27.67 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.889, allocations: 8 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.616e-05/0.889, allocations: 108.4 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.8891, allocations: 3.906 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.8892, allocations: 62.08 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.8892, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8892, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8892, allocations: 4.312 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.8894, allocations: 175.6 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8895, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.8895, allocations: 19.92 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8895, allocations: 3.938 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.8896, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8896, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.8896, allocations: 4 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.8897, allocations: 144.3 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.8898, allocations: 85.02 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.8898, allocations: 7.984 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.8899, allocations: 18.86 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.89, allocations: 7.984 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.89, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.8901, allocations: 86.97 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8901, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002063/0.8903, allocations: 8 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001748/0.8905, allocations: 110.6 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.672e-05/0.8906, allocations: 22.62 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8906, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.8906, allocations: 11.56 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.8908, allocations: 9.828 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.891, allocations: 81.41 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.8913, allocations: 0.6848 MB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.8913, allocations: 4.25 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.8914, allocations: 19.3 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of SimCode: time 4.3e-07/0.8914, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of Templates: time 0.00258/0.8939, allocations: 0.6381 MB / 1.025 GB, free: 13.88 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches