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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001637/0.001637, allocations: 110.2 kB / 15.99 MB, free: 6.367 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.001426/0.001426, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 469.4 MB / 0.7423 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 68.28 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.331, allocations: 159.1 MB / 1.064 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004509/0.3355, allocations: 2.503 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3386, allocations: 1.563 MB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.3391, allocations: 11.88 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.3399, allocations: 307.2 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.3411, allocations: 306.9 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.3428, allocations: 410.6 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3441, allocations: 0.7128 MB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3444, allocations: 81.72 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007973/0.3452, allocations: 326.5 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006874/0.3459, allocations: 338.7 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.3461, allocations: 28 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.3466, allocations: 87.97 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.3469, allocations: 207.3 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.3474, allocations: 270.1 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3485, allocations: 0.5888 MB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3485, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3485, allocations: 4 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.161e-05/0.3486, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8419 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.002598/0.3512, allocations: 0.9989 MB / 1.072 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.3512, allocations: 16.56 kB / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.3516, allocations: 72 kB / 1.072 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.3528, allocations: 0.6134 MB / 1.073 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.3529, allocations: 16.36 kB / 1.073 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.3529, allocations: 15.94 kB / 1.073 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.3534, allocations: 206.4 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3534, allocations: 3.938 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3534, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3535, allocations: 4 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.3537, allocations: 95.88 kB / 1.073 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.3558, allocations: 1.063 MB / 1.074 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.3565, allocations: 277 kB / 1.075 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3568, allocations: 100.2 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.3568, allocations: 11.98 kB / 1.075 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.3573, allocations: 235.7 kB / 1.075 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.424e-06/0.3573, allocations: 0 / 1.075 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.001047/0.3584, allocations: 421.6 kB / 1.075 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.3585, allocations: 162.2 kB / 1.075 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.3599, allocations: 1.036 MB / 1.076 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.36, allocations: 33.7 kB / 1.076 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.3602, allocations: 292.9 kB / 1.077 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.3603, allocations: 79.02 kB / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.3606, allocations: 142.2 kB / 1.077 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3607, allocations: 330 kB / 1.077 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.3611, allocations: 209.2 kB / 1.077 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.3616, allocations: 311 kB / 1.078 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.3623, allocations: 405.4 kB / 1.078 GB, free: 152 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3623, allocations: 0 / 1.078 GB, free: 152 kB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.6969/1.059, allocations: 0.6692 MB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/1.059, allocations: 10.53 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.059, allocations: 1.812 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/1.059, allocations: 5.938 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/1.06, allocations: 117.7 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.209e-05/1.06, allocations: 8.625 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/1.061, allocations: 37.45 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.061, allocations: 28.78 kB / 1.079 GB, free: 22.08 MB / 0.8419 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.0007529/1.062, allocations: 280.6 kB / 1.079 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/1.062, allocations: 70.92 kB / 1.079 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/1.062, allocations: 71.36 kB / 1.079 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.062, allocations: 4.25 kB / 1.079 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.062, allocations: 3.125 kB / 1.079 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/1.062, allocations: 2.969 kB / 1.079 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/1.063, allocations: 465.8 kB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.063, allocations: 3.469 kB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1.064, allocations: 19.47 kB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.064, allocations: 4.859 kB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/1.064, allocations: 10.52 kB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/1.064, allocations: 6.797 kB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.064, allocations: 2.031 kB / 1.08 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.065, allocations: 395 kB / 1.08 GB, free: 21.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/1.065, allocations: 158.1 kB / 1.08 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/1.065, allocations: 13.38 kB / 1.08 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/1.066, allocations: 20.88 kB / 1.08 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.066, allocations: 24.45 kB / 1.081 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/1.066, allocations: 14.45 kB / 1.081 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001388/1.067, allocations: 0.6063 MB / 1.081 GB, free: 21.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/1.067, allocations: 0 / 1.081 GB, free: 21.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009462/1.068, allocations: 118.2 kB / 1.081 GB, free: 21.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/1.07, allocations: 489.2 kB / 1.082 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.072, allocations: 410.4 kB / 1.082 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.072, allocations: 3.828 kB / 1.082 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/1.072, allocations: 107.4 kB / 1.082 GB, free: 21.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/1.074, allocations: 226.5 kB / 1.082 GB, free: 21.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/1.077, allocations: 1.285 MB / 1.084 GB, free: 20.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/1.078, allocations: 0.9395 MB / 1.085 GB, free: 19.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/1.078, allocations: 59.02 kB / 1.085 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of SimCode: time 1.473e-06/1.078, allocations: 0 / 1.085 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.03691/1.115, allocations: 8.805 MB / 1.093 GB, free: 18.59 MB / 0.8419 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