Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 110.5 kB / 16.42 MB, free: 5.977 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.002652/0.002652, allocations: 184.9 kB / 17.35 MB, free: 5.582 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.529/1.529, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.83 kB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9148, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004343/0.9192, allocations: 2.471 MB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.9221, allocations: 1.568 MB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.9225, allocations: 19.88 kB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.9233, allocations: 318.9 kB / 1.231 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009083/0.9242, allocations: 338.7 kB / 1.231 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.9254, allocations: 449.1 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.9264, allocations: 0.7129 MB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.9267, allocations: 81.72 kB / 1.232 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006249/0.9273, allocations: 338.7 kB / 1.233 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.9278, allocations: 330.6 kB / 1.233 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.9279, allocations: 32 kB / 1.233 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.9283, allocations: 83.97 kB / 1.233 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.9285, allocations: 195.3 kB / 1.233 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.9288, allocations: 270.1 kB / 1.233 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.9298, allocations: 0.7472 MB / 1.234 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9298, allocations: 0 / 1.234 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9298, allocations: 0 / 1.234 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.9299, allocations: 4 kB / 1.234 GB, free: 5.531 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001895/0.9318, allocations: 1.018 MB / 1.235 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.9318, allocations: 12.03 kB / 1.235 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.932, allocations: 84.3 kB / 1.235 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.933, allocations: 0.6335 MB / 1.236 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.9331, allocations: 12.38 kB / 1.236 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.9331, allocations: 19.92 kB / 1.236 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.9335, allocations: 197.7 kB / 1.236 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9335, allocations: 0 / 1.236 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.9336, allocations: 15.97 kB / 1.236 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9336, allocations: 4 kB / 1.236 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.9339, allocations: 99.88 kB / 1.236 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.9353, allocations: 1.048 MB / 1.237 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.9359, allocations: 277 kB / 1.237 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.9361, allocations: 112.2 kB / 1.238 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.9362, allocations: 7.984 kB / 1.238 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.9366, allocations: 223.4 kB / 1.238 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.9366, allocations: 0 / 1.238 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.001148/0.9377, allocations: 425.5 kB / 1.238 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.9378, allocations: 162.2 kB / 1.238 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.9393, allocations: 1.032 MB / 1.239 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.9394, allocations: 41.69 kB / 1.239 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.9396, allocations: 292.8 kB / 1.24 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.9397, allocations: 75.52 kB / 1.24 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.94, allocations: 142.2 kB / 1.24 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.9402, allocations: 334 kB / 1.24 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.9406, allocations: 209.2 kB / 1.24 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.9411, allocations: 307 kB / 1.241 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.9418, allocations: 405.5 kB / 1.241 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9418, allocations: 4 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001158/0.9429, allocations: 0.6787 MB / 1.242 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.943, allocations: 4 kB / 1.242 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.943, allocations: 4 kB / 1.242 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.943, allocations: 4 kB / 1.242 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.9434, allocations: 115.8 kB / 1.242 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.9435, allocations: 11.88 kB / 1.242 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.9438, allocations: 47.77 kB / 1.242 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.9438, allocations: 27.98 kB / 1.242 GB, free: 13.12 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003161/0.9442, allocations: 278.8 kB / 1.242 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.9443, allocations: 75.48 kB / 1.242 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.9444, allocations: 69.88 kB / 1.242 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.9444, allocations: 4 kB / 1.242 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.9444, allocations: 0 / 1.242 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.9446, allocations: 168.5 kB / 1.243 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.9447, allocations: 19.92 kB / 1.243 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.9449, allocations: 15.98 kB / 1.243 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.945, allocations: 27.97 kB / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007419/0.9457, allocations: 0.6658 MB / 1.243 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007779/0.9465, allocations: 0.8106 MB / 1.244 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002261/0.9467, allocations: 104.2 kB / 1.244 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007141/0.9475, allocations: 0.6005 MB / 1.245 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of Backend: time 7.42e-07/0.9475, allocations: 0 / 1.245 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002508/0.95, allocations: 0.8785 MB / 1.246 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002265/0.9523, allocations: 1.631 MB / 1.247 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of Templates: time 0.01525/0.9675, allocations: 8.014 MB / 1.255 GB, free: 15.95 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches