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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 184.9 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009556/0.0009558, allocations: 97.97 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 10.56 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.4322, allocations: 131.7 MB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4325, allocations: 67.95 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002599/0.4351, allocations: 0.9581 MB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4351, allocations: 8 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.4351, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 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.0004777/0.4356, allocations: 377.1 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4356, allocations: 12.03 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.4357, allocations: 11.84 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4358, allocations: 167 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4358, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.4358, allocations: 11.94 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.4361, allocations: 73.64 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4361, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4361, allocations: 4 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4361, allocations: 0 / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.4363, allocations: 55.94 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.4368, allocations: 312.7 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.4371, allocations: 58.55 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.4371, allocations: 0 / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4372, allocations: 34.62 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.4372, allocations: 0 / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003813/0.4376, allocations: 113.6 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.4376, allocations: 55.39 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.4377, allocations: 105.2 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4377, allocations: 25.7 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.4378, allocations: 92.12 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.4378, allocations: 7.938 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.4378, allocations: 7.938 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4379, allocations: 314.8 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.438, allocations: 27.97 kB / 1.031 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.4381, allocations: 27.98 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.677e-05/0.4382, allocations: 31.97 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4382, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000209/0.4384, allocations: 85.59 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4385, allocations: 4 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4385, allocations: 8 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4385, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.4386, allocations: 8 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4386, allocations: 3.984 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4387, allocations: 23.84 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.4387, allocations: 4 kB / 1.032 GB, free: 8.797 MB / 0.6823 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 7.477e-05/0.4388, allocations: 113.8 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.4388, allocations: 7.938 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.4391, allocations: 93.48 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4391, allocations: 4 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4391, allocations: 4 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4391, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.4393, allocations: 169.6 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4393, allocations: 0 / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.4393, allocations: 8 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4393, allocations: 0 / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4394, allocations: 7.984 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4394, allocations: 4 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4394, allocations: 4 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.4396, allocations: 187.7 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.4397, allocations: 77.11 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4397, allocations: 0 / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4398, allocations: 27.97 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.4399, allocations: 7.922 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4399, allocations: 4 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.44, allocations: 95.2 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-07/0.44, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001957/0.4402, allocations: 8 kB / 1.032 GB, free: 7.891 MB / 0.6823 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.0001314/0.4403, allocations: 103.2 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.4406, allocations: 55.95 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4406, allocations: 0 / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.4407, allocations: 35.92 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.4409, allocations: 3.953 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.4412, allocations: 140.6 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4415, allocations: 0.6809 MB / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.4415, allocations: 8 kB / 1.033 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.4416, allocations: 7.438 kB / 1.033 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of SimCode: time 5.31e-07/0.4416, allocations: 0 / 1.033 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of Templates: time 0.002477/0.444, allocations: 0.6329 MB / 1.034 GB, free: 6.176 MB / 0.6823 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