Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.000958/0.0009581, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004034, allocations: 16 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6963, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004896/0.7013, allocations: 2.154 MB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004754/0.7061, allocations: 1.533 MB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.7064, allocations: 11.88 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.7074, allocations: 307.2 kB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.7085, allocations: 299 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.7103, allocations: 416.4 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.7115, allocations: 0.6582 MB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.7119, allocations: 77.66 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006161/0.7125, allocations: 290.6 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.7131, allocations: 306.6 kB / 1.03 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.7132, allocations: 16 kB / 1.03 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.7135, allocations: 63.97 kB / 1.03 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.7138, allocations: 179.3 kB / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.7143, allocations: 279.8 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000893/0.7152, allocations: 0.5748 MB / 1.031 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.7152, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.266e-06/0.7152, allocations: 3.938 kB / 1.031 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.7152, allocations: 0 / 1.031 GB, free: 8.707 MB / 0.7794 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.002355/0.7176, allocations: 0.8982 MB / 1.032 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.7177, allocations: 11.97 kB / 1.032 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.7179, allocations: 72 kB / 1.032 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.7193, allocations: 0.6211 MB / 1.032 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.7194, allocations: 12.36 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.7195, allocations: 15.94 kB / 1.032 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.7202, allocations: 209 kB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.7202, allocations: 0 / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.7203, allocations: 8 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.7203, allocations: 0 / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.7208, allocations: 99.88 kB / 1.033 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.7231, allocations: 1.052 MB / 1.034 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.7243, allocations: 285 kB / 1.034 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.7248, allocations: 100.2 kB / 1.034 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.7249, allocations: 11.98 kB / 1.034 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006976/0.7256, allocations: 223.4 kB / 1.034 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 5.841e-06/0.7256, allocations: 0 / 1.034 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001754/0.7274, allocations: 428.3 kB / 1.035 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.7276, allocations: 166.2 kB / 1.035 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.7299, allocations: 1.032 MB / 1.036 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.7299, allocations: 37.7 kB / 1.036 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.7303, allocations: 288.9 kB / 1.036 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.7305, allocations: 71.09 kB / 1.036 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.7306, allocations: 69.67 kB / 1.036 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.7308, allocations: 334 kB / 1.037 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.7315, allocations: 205.2 kB / 1.037 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/0.7324, allocations: 315 kB / 1.037 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.7338, allocations: 412.1 kB / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.7338, allocations: 0 / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002101/0.7359, allocations: 0.6628 MB / 1.038 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7359, allocations: 14.03 kB / 1.038 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.736, allocations: 0 / 1.038 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.736, allocations: 8 kB / 1.038 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008257/0.7368, allocations: 115.8 kB / 1.038 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.7369, allocations: 7.938 kB / 1.038 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.7374, allocations: 47.67 kB / 1.038 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.7375, allocations: 27.98 kB / 1.038 GB, free: 0.5273 MB / 0.7794 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.000559/0.7381, allocations: 287.3 kB / 1.039 GB, free: 244 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.7383, allocations: 75.05 kB / 1.039 GB, free: 168 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.7385, allocations: 73.89 kB / 1.039 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.7385, allocations: 4 kB / 1.039 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.7386, allocations: 3.938 kB / 1.039 GB, free: 84 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.7386, allocations: 7.984 kB / 1.039 GB, free: 76 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.7394, allocations: 461.2 kB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7394, allocations: 4 kB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.7395, allocations: 16 kB / 1.039 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.7395, allocations: 0 / 1.039 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.7396, allocations: 15.98 kB / 1.039 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.7396, allocations: 4 kB / 1.039 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.7396, allocations: 7.875 kB / 1.039 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.7408, allocations: 390.3 kB / 1.04 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.7412, allocations: 172.1 kB / 1.04 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.7413, allocations: 8 kB / 1.04 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.7417, allocations: 27.91 kB / 1.04 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.7418, allocations: 19.92 kB / 1.04 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.7418, allocations: 19.92 kB / 1.04 GB, free: 14.86 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001334/0.7432, allocations: 0.6044 MB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7432, allocations: 4 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007482/0.744, allocations: 112 kB / 1.041 GB, free: 14.14 MB / 0.795 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.002052/0.746, allocations: 485.1 kB / 1.041 GB, free: 13.85 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.7475, allocations: 399.6 kB / 1.041 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7475, allocations: 0 / 1.041 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.748, allocations: 99.89 kB / 1.041 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.7499, allocations: 210.1 kB / 1.042 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.7529, allocations: 1.288 MB / 1.043 GB, free: 11.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.7537, allocations: 0.9366 MB / 1.044 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.7539, allocations: 55.42 kB / 1.044 GB, free: 10.81 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.7539, allocations: 0 / 1.044 GB, free: 10.81 MB / 0.795 GB Notification: Performance of Templates: time 0.01407/0.768, allocations: 8.696 MB / 1.052 GB, free: 2.16 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches