Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001168/0.001168, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.52/1.52, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.0008405/0.0008403, allocations: 94.73 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.939e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8711/1.118, allocations: 148.9 MB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/1.118, allocations: 72.34 kB / 1.351 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1157/1.234, allocations: 46.02 MB / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.234, allocations: 0 / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.372e-05/1.234, allocations: 11.5 kB / 1.396 GB, free: 24.07 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001249/1.235, allocations: 0.6219 MB / 1.397 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.235, allocations: 11.75 kB / 1.397 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/1.235, allocations: 54.22 kB / 1.397 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/1.236, allocations: 0.5331 MB / 1.398 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.236, allocations: 3.906 kB / 1.398 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/1.237, allocations: 30.78 kB / 1.398 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002936/1.237, allocations: 213.8 kB / 1.398 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/1.237, allocations: 290.5 kB / 1.398 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.237, allocations: 0 / 1.398 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/1.237, allocations: 0 / 1.398 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.237, allocations: 3.844 kB / 1.398 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/1.239, allocations: 1.136 MB / 1.399 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/1.24, allocations: 458.3 kB / 1.4 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/1.24, allocations: 174.7 kB / 1.4 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/1.24, allocations: 3.953 kB / 1.4 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/1.24, allocations: 331.2 kB / 1.4 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 2.274e-06/1.24, allocations: 3.938 kB / 1.4 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0007999/1.241, allocations: 486.2 kB / 1.401 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.241, allocations: 118.6 kB / 1.401 GB, free: 21.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/1.242, allocations: 0.5233 MB / 1.401 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/1.242, allocations: 40.67 kB / 1.401 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/1.242, allocations: 211 kB / 1.402 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/1.242, allocations: 45.8 kB / 1.402 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.242, allocations: 0 / 1.402 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.242, allocations: 362.4 kB / 1.402 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/1.243, allocations: 126.6 kB / 1.402 GB, free: 21.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/1.243, allocations: 0.6961 MB / 1.403 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/1.244, allocations: 203.5 kB / 1.403 GB, free: 20.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.244, allocations: 3.812 kB / 1.403 GB, free: 20.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007471/1.244, allocations: 429.6 kB / 1.403 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.244, allocations: 9.688 kB / 1.403 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.244, allocations: 3.844 kB / 1.403 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.244, allocations: 4.219 kB / 1.403 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.245, allocations: 35.08 kB / 1.403 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.245, allocations: 4.203 kB / 1.403 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.246, allocations: 81.59 kB / 1.403 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/1.246, allocations: 18.86 kB / 1.403 GB, free: 20.34 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001689/1.246, allocations: 153.4 kB / 1.404 GB, free: 20.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/1.246, allocations: 50.72 kB / 1.404 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.519e-05/1.246, allocations: 48.84 kB / 1.404 GB, free: 20.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.246, allocations: 3.781 kB / 1.404 GB, free: 20.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.246, allocations: 0 / 1.404 GB, free: 20.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.246, allocations: 3.984 kB / 1.404 GB, free: 20.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/1.246, allocations: 376.8 kB / 1.404 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.246, allocations: 0 / 1.404 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/1.246, allocations: 3.875 kB / 1.404 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.246, allocations: 3.844 kB / 1.404 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/1.247, allocations: 7.891 kB / 1.404 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.247, allocations: 3.953 kB / 1.404 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.247, allocations: 7.641 kB / 1.404 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/1.247, allocations: 0.529 MB / 1.405 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.247, allocations: 145.2 kB / 1.405 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/1.247, allocations: 3.906 kB / 1.405 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/1.247, allocations: 11.64 kB / 1.405 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/1.248, allocations: 33.86 kB / 1.405 GB, free: 19.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/1.248, allocations: 15.22 kB / 1.405 GB, free: 19.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004002/1.248, allocations: 415.2 kB / 1.405 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.248, allocations: 3.875 kB / 1.405 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005198/1.249, allocations: 108 kB / 1.405 GB, free: 19.42 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002748/1.249, allocations: 154.4 kB / 1.405 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004472/1.249, allocations: 330.8 kB / 1.406 GB, free: 19.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.249, allocations: 4.25 kB / 1.406 GB, free: 19.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/1.249, allocations: 175.1 kB / 1.406 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/1.25, allocations: 32.77 kB / 1.406 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/1.251, allocations: 0.6605 MB / 1.407 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/1.251, allocations: 0.8466 MB / 1.407 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002981/1.251, allocations: 99.25 kB / 1.408 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/1.251, allocations: 30.56 kB / 1.408 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.251, allocations: 3.938 kB / 1.408 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.01353/1.265, allocations: 6.552 MB / 1.414 GB, free: 12.48 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches