Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.423/2.423, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001099/0.001099, allocations: 180.9 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.788/1.788, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.001/0.001, allocations: 99.88 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.426e-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.3347/0.3348, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.945/1.28, allocations: 149.8 MB / 1.365 GB, free: 4.246 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.28, allocations: 69.7 kB / 1.365 GB, free: 4.207 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002792/1.283, allocations: 0.9546 MB / 1.366 GB, free: 3.336 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/1.283, allocations: 0 / 1.366 GB, free: 3.336 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.283, allocations: 4 kB / 1.366 GB, free: 3.332 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.000524/1.284, allocations: 366.3 kB / 1.366 GB, free: 2.934 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.284, allocations: 8.031 kB / 1.366 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/1.284, allocations: 12.53 kB / 1.366 GB, free: 2.914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.284, allocations: 178.9 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.284, allocations: 3.75 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/1.284, allocations: 4 kB / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/1.284, allocations: 51.92 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.284, allocations: 0 / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.284, allocations: 3.188 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/1.284, allocations: 0 / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/1.284, allocations: 22.69 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/1.285, allocations: 301.5 kB / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/1.285, allocations: 41.25 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/1.285, allocations: 24.05 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/1.285, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/1.285, allocations: 30.56 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/1.285, allocations: 0 / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.00016/1.285, allocations: 52.92 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/1.285, allocations: 55.41 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/1.285, allocations: 100.8 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.285, allocations: 33.08 kB / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/1.285, allocations: 94.97 kB / 1.367 GB, free: 1.848 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/1.285, allocations: 3.906 kB / 1.367 GB, free: 1.844 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/1.285, allocations: 3.75 kB / 1.367 GB, free: 1.844 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.286, allocations: 314.8 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/1.286, allocations: 11.69 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/1.286, allocations: 11.56 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/1.286, allocations: 13.77 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.286, allocations: 0 / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.603e-05/1.286, allocations: 52.94 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.286, allocations: 8 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.286, allocations: 0 / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.286, allocations: 4 kB / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/1.286, allocations: 8 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.286, allocations: 3.953 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/1.286, allocations: 23.97 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/1.286, allocations: 4 kB / 1.368 GB, free: 1.402 MB / 0.823 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.168e-05/1.286, allocations: 104.9 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/1.286, allocations: 7.906 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/1.286, allocations: 60.64 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.286, allocations: 240 / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/1.286, allocations: 0 / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.286, allocations: 3.953 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/1.287, allocations: 177 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.287, allocations: 4 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/1.287, allocations: 15.92 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.287, allocations: 0 / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/1.287, allocations: 2.625 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.287, allocations: 4 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.287, allocations: 0 / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/1.287, allocations: 150.2 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/1.287, allocations: 89.09 kB / 1.368 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/1.287, allocations: 0 / 1.368 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/1.287, allocations: 18.42 kB / 1.368 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/1.287, allocations: 7.984 kB / 1.368 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.287, allocations: 0 / 1.368 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.748e-05/1.287, allocations: 97.2 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.287, allocations: 0 / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002089/1.287, allocations: 12 kB / 1.369 GB, free: 0.5977 MB / 0.823 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.0001235/1.288, allocations: 99.2 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.727e-05/1.288, allocations: 30.06 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/1.288, allocations: 0 / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/1.288, allocations: 10.94 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/1.288, allocations: 4 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/1.288, allocations: 83.28 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.288, allocations: 0.6809 MB / 1.369 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.342e-05/1.288, allocations: 7.984 kB / 1.369 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/1.288, allocations: 7.438 kB / 1.369 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.288, allocations: 0 / 1.369 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.002772/1.291, allocations: 0.6442 MB / 1.37 GB, free: 15.02 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches