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.386/2.386, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001684/0.001685, allocations: 187.3 kB / 0.4902 GB, free: 2.312 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.464/1.464, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.001139/0.001139, allocations: 111 kB / 0.9396 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005233, allocations: 9.562 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3857, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.6058, allocations: 149.8 MB / 1.376 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.6061, allocations: 63.97 kB / 1.376 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.003115/0.6092, allocations: 0.9503 MB / 1.377 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6092, allocations: 0 / 1.377 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.6092, allocations: 0 / 1.377 GB, free: 14.45 MB / 0.8855 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.0005928/0.6098, allocations: 381.3 kB / 1.377 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6099, allocations: 16.5 kB / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.61, allocations: 7.844 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.6101, allocations: 175 kB / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.6101, allocations: 11.94 kB / 1.377 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.6101, allocations: 4 kB / 1.377 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.6104, allocations: 61.67 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.6104, allocations: 0 / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6104, allocations: 0 / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.6104, allocations: 4 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.6106, allocations: 55.95 kB / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.6112, allocations: 308.6 kB / 1.378 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.6115, allocations: 58.55 kB / 1.378 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.6116, allocations: 0 / 1.378 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.6116, allocations: 34.56 kB / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6116, allocations: 3.938 kB / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004088/0.612, allocations: 113.9 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.6121, allocations: 59.36 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.6122, allocations: 105 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.6122, allocations: 25.7 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.6123, allocations: 84.14 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.6123, allocations: 11.91 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.6123, allocations: 0 / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6124, allocations: 314.8 kB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.6125, allocations: 27.98 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.6126, allocations: 23.98 kB / 1.378 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.6127, allocations: 31.91 kB / 1.378 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6127, allocations: 0 / 1.378 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.613, allocations: 93.56 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.613, allocations: 4 kB / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.613, allocations: 0 / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.613, allocations: 0 / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.6131, allocations: 15.98 kB / 1.378 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.6131, allocations: 8.328 kB / 1.378 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.6132, allocations: 19.98 kB / 1.379 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.6133, allocations: 0 / 1.379 GB, free: 12.22 MB / 0.8855 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 () * Number of clocked 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 8.463e-05/0.6133, allocations: 113.8 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.6134, allocations: 11.84 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.6136, allocations: 97.48 kB / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6137, allocations: 3.938 kB / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6137, allocations: 0 / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6137, allocations: 7.938 kB / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.6138, allocations: 169.7 kB / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6139, allocations: 0 / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.6139, allocations: 19.98 kB / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6139, allocations: 0 / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.614, allocations: 0 / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.614, allocations: 0 / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.614, allocations: 0 / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.6142, allocations: 183.4 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.6143, allocations: 85.02 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.6143, allocations: 3.984 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.6145, allocations: 15.98 kB / 1.379 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.6145, allocations: 15.98 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.6145, allocations: 0 / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.6146, allocations: 91.27 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6146, allocations: 0 / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002309/0.6148, allocations: 8 kB / 1.379 GB, free: 11.31 MB / 0.8855 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) * Number of clocked states: 0 () * 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.0001502/0.615, allocations: 96.33 kB / 1.379 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.6152, allocations: 67.88 kB / 1.379 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6153, allocations: 0 / 1.379 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.6154, allocations: 27.98 kB / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.6156, allocations: 12.8 kB / 1.379 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.6159, allocations: 136.6 kB / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6162, allocations: 0.6925 MB / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.6163, allocations: 3.984 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.6163, allocations: 11.44 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of SimCode: time 6.31e-07/0.6163, allocations: 4 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.002733/0.619, allocations: 0.6261 MB / 1.381 GB, free: 9.582 MB / 0.8855 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