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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 112.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9596/0.961, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002106/0.9631, allocations: 0.8721 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.965, allocations: 1.446 MB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.9651, allocations: 3.156 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.9657, allocations: 199.3 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.9658, allocations: 112.1 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.9668, allocations: 353.8 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.9678, allocations: 0.8835 MB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.9681, allocations: 98.33 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.9685, allocations: 343.8 kB / 1.093 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.9689, allocations: 259.6 kB / 1.093 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.9691, allocations: 45.75 kB / 1.093 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.9694, allocations: 110 kB / 1.093 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/0.97, allocations: 341.1 kB / 1.094 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.9703, allocations: 273.2 kB / 1.094 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.9715, allocations: 0.913 MB / 1.095 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.9715, allocations: 3.938 kB / 1.095 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9715, allocations: 1.125 kB / 1.095 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.9715, allocations: 0 / 1.095 GB, free: 2.512 MB / 0.8575 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.001582/0.9731, allocations: 0.8853 MB / 1.096 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.9732, allocations: 8.406 kB / 1.096 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.9734, allocations: 54.61 kB / 1.096 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/0.9744, allocations: 0.5463 MB / 1.096 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.9744, allocations: 29.94 kB / 1.096 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.9745, allocations: 37.3 kB / 1.096 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.975, allocations: 310.7 kB / 1.097 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.9751, allocations: 3.938 kB / 1.097 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.9751, allocations: 11.7 kB / 1.097 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.9751, allocations: 2.844 kB / 1.097 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.9755, allocations: 221.3 kB / 1.097 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.9776, allocations: 1.177 MB / 1.098 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.9782, allocations: 468.5 kB / 1.098 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.9785, allocations: 176.8 kB / 1.099 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.9785, allocations: 6.406 kB / 1.099 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/0.979, allocations: 331.7 kB / 1.099 GB, free: 208 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/0.979, allocations: 0.75 kB / 1.099 GB, free: 208 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.00116/0.9802, allocations: 0.6274 MB / 1.099 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.9803, allocations: 116.5 kB / 1.1 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.9812, allocations: 0.5916 MB / 1.1 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.9813, allocations: 44.17 kB / 1.1 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.9816, allocations: 228.8 kB / 1.1 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.9817, allocations: 56.42 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.9821, allocations: 183.7 kB / 1.101 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.9823, allocations: 365.5 kB / 1.101 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.9825, allocations: 122.3 kB / 1.101 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/0.9835, allocations: 0.7165 MB / 1.102 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.9839, allocations: 298.8 kB / 1.102 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9839, allocations: 1.312 kB / 1.102 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007118/0.9846, allocations: 415.3 kB / 1.102 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9846, allocations: 6.125 kB / 1.102 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9846, allocations: 4 kB / 1.102 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.9847, allocations: 13.5 kB / 1.102 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.9848, allocations: 43.38 kB / 1.103 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.9849, allocations: 10.16 kB / 1.103 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.9862, allocations: 126.1 kB / 1.103 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.9862, allocations: 15.55 kB / 1.103 GB, free: 13.95 MB / 0.8731 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.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003317/0.9866, allocations: 257.3 kB / 1.103 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.9866, allocations: 40.03 kB / 1.103 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/0.9867, allocations: 50.94 kB / 1.103 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.9868, allocations: 6.203 kB / 1.103 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.9868, allocations: 1.922 kB / 1.103 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.9869, allocations: 130.2 kB / 1.103 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.987, allocations: 7.781 kB / 1.103 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.9871, allocations: 17.89 kB / 1.103 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.9873, allocations: 29.67 kB / 1.103 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000887/0.9882, allocations: 0.6993 MB / 1.104 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008625/0.989, allocations: 0.7923 MB / 1.105 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000275/0.9893, allocations: 188.3 kB / 1.105 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005902/0.9899, allocations: 438.4 kB / 1.105 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of Backend: time 6.51e-07/0.9899, allocations: 0 / 1.105 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.9909, allocations: 308.3 kB / 1.106 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001293/0.9922, allocations: 1.119 MB / 1.107 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.01845/1.011, allocations: 8.185 MB / 1.115 GB, free: 10.93 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches