Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001061/0.001061, allocations: 176.8 kB / 487.4 MB, free: 5.062 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.478/1.478, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 103.8 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.068e-05, allocations: 11.98 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3574, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.405, allocations: 148.3 MB / 1.351 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.405, allocations: 68.7 kB / 1.351 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003407/1.408, allocations: 0.9443 MB / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.408, allocations: 0 / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.325e-06/1.408, allocations: 1.188 kB / 1.352 GB, free: 34.06 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.0004567/1.409, allocations: 371.9 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.91e-05/1.409, allocations: 9.125 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/1.409, allocations: 12.05 kB / 1.352 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/1.409, allocations: 177.3 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/1.409, allocations: 1.312 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/1.409, allocations: 2.625 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/1.409, allocations: 19.39 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/1.409, allocations: 50.22 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/1.409, allocations: 4 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.409, allocations: 1.25 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.409, allocations: 0 / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/1.41, allocations: 282 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/1.41, allocations: 37.64 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/1.41, allocations: 14.98 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/1.41, allocations: 0 / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/1.41, allocations: 31.78 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.41, allocations: 0 / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001663/1.41, allocations: 47.59 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/1.41, allocations: 57.09 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/1.41, allocations: 100.9 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/1.41, allocations: 25.7 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/1.411, allocations: 92.12 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/1.411, allocations: 5.219 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.411, allocations: 0 / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.411, allocations: 321.4 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/1.411, allocations: 8.312 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/1.411, allocations: 15.95 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/1.411, allocations: 3.906 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.411, allocations: 0 / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.425e-05/1.411, allocations: 54.83 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.411, allocations: 5.281 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.411, allocations: 0 / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.411, allocations: 1.312 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/1.411, allocations: 18.16 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/1.411, allocations: 0 / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/1.411, allocations: 22.73 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.411, allocations: 1.281 kB / 1.354 GB, free: 32.46 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 7.936e-05/1.411, allocations: 108.1 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/1.411, allocations: 6.469 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/1.411, allocations: 61.08 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.411, allocations: 5.875 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.411, allocations: 1.312 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.411, allocations: 0.7969 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/1.412, allocations: 148.4 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.412, allocations: 5.281 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/1.412, allocations: 17.58 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.412, allocations: 1.312 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.412, allocations: 0.75 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.412, allocations: 0 / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.412, allocations: 1.312 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/1.412, allocations: 147.5 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/1.412, allocations: 83.02 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/1.412, allocations: 0 / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.412, allocations: 25.83 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/1.412, allocations: 14.67 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/1.412, allocations: 0.75 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.949e-05/1.412, allocations: 82.98 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.412, allocations: 0 / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002145/1.412, allocations: 8.625 kB / 1.354 GB, free: 31.82 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.0001311/1.413, allocations: 99.28 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/1.413, allocations: 24.53 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/1.413, allocations: 0 / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/1.413, allocations: 15.31 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/1.413, allocations: 4.969 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/1.413, allocations: 74.91 kB / 1.354 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.413, allocations: 0.6828 MB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.474e-05/1.413, allocations: 0.75 kB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/1.413, allocations: 11.34 kB / 1.355 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.413, allocations: 4 kB / 1.355 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.002534/1.416, allocations: 0.5738 MB / 1.356 GB, free: 30.89 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches