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.528/2.528, allocations: 390.5 MB / 398 MB, free: 10.92 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.001302/0.001302, allocations: 195.7 kB / 491.2 MB, free: 1.547 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.751/1.751, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009869/0.0009868, allocations: 90 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.918e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3285, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9955/1.324, allocations: 149.1 MB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/1.324, allocations: 67.38 kB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003017/1.327, allocations: 0.9519 MB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.327, allocations: 0 / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.327, allocations: 4 kB / 1.359 GB, free: 33.24 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.000412/1.328, allocations: 367.4 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/1.328, allocations: 11.44 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/1.328, allocations: 12.41 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/1.328, allocations: 168.3 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/1.328, allocations: 7.812 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/1.328, allocations: 0 / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.492e-05/1.328, allocations: 19.16 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/1.328, allocations: 48.92 kB / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/1.328, allocations: 0 / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/1.328, allocations: 0 / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/1.328, allocations: 0 / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/1.329, allocations: 283.1 kB / 1.36 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/1.329, allocations: 43.59 kB / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/1.329, allocations: 19.78 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.329, allocations: 0 / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.119e-05/1.329, allocations: 34.44 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/1.329, allocations: 0 / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001322/1.329, allocations: 40.55 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/1.329, allocations: 55.25 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/1.329, allocations: 110.9 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/1.329, allocations: 31.45 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/1.329, allocations: 93.3 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/1.329, allocations: 12.83 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.329, allocations: 0 / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/1.329, allocations: 311.9 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/1.329, allocations: 7.281 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/1.329, allocations: 10.75 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/1.329, allocations: 8.625 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.329, allocations: 0 / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.937e-05/1.329, allocations: 48.42 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.329, allocations: 9.156 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.33, allocations: 0 / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.33, allocations: 0 / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/1.33, allocations: 14.09 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.33, allocations: 5.312 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/1.33, allocations: 20.16 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/1.33, allocations: 3.953 kB / 1.361 GB, free: 31.64 MB / 0.8386 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 6.924e-05/1.33, allocations: 111.1 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/1.33, allocations: 3.906 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/1.33, allocations: 59.58 kB / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.33, allocations: 0.875 kB / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.33, allocations: 0 / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.33, allocations: 0 / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/1.33, allocations: 149.5 kB / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.33, allocations: 0 / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/1.33, allocations: 17.88 kB / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.33, allocations: 7.812 kB / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/1.33, allocations: 0 / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.33, allocations: 0 / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.33, allocations: 0 / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/1.33, allocations: 146.6 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/1.33, allocations: 85.64 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/1.33, allocations: 4 kB / 1.361 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.331, allocations: 17.92 kB / 1.361 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/1.331, allocations: 8.297 kB / 1.361 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.331, allocations: 0 / 1.361 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.824e-05/1.331, allocations: 87.36 kB / 1.361 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.331, allocations: 0 / 1.361 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002048/1.331, allocations: 7.938 kB / 1.361 GB, free: 31 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: 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.0001003/1.331, allocations: 103.7 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/1.331, allocations: 23.77 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.331, allocations: 7.875 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/1.331, allocations: 12.28 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/1.331, allocations: 5.391 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/1.332, allocations: 75.89 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/1.332, allocations: 0.683 MB / 1.362 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.388e-05/1.332, allocations: 4.453 kB / 1.362 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/1.332, allocations: 11.78 kB / 1.362 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.332, allocations: 0 / 1.362 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.002229/1.334, allocations: 0.5659 MB / 1.363 GB, free: 30.08 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