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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001968/0.001968, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002774/0.002774, allocations: 194 kB / 16.14 MB, free: 6.652 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/0.5956, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003815/0.5994, allocations: 2.507 MB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.6021, allocations: 1.572 MB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.6024, allocations: 11.88 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.6031, allocations: 303.2 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006669/0.6038, allocations: 306.9 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.6048, allocations: 412.2 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.6057, allocations: 0.6621 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.6059, allocations: 69.73 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.6064, allocations: 290.6 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.6068, allocations: 318.6 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.6069, allocations: 12 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.6071, allocations: 67.97 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.6073, allocations: 179.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.6076, allocations: 258.1 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.6083, allocations: 0.7142 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6083, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6083, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.6083, allocations: 0 / 1.024 GB, free: 11.07 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.001662/0.61, allocations: 0.9951 MB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.61, allocations: 15.97 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.6102, allocations: 72 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000935/0.6111, allocations: 0.6212 MB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.6112, allocations: 12.38 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.6112, allocations: 19.88 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.6116, allocations: 203.2 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6116, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.6117, allocations: 4 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6117, allocations: 8 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.6119, allocations: 99.88 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.6133, allocations: 1.056 MB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.6139, allocations: 277 kB / 1.027 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.6142, allocations: 108.2 kB / 1.027 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.6142, allocations: 7.984 kB / 1.027 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.6146, allocations: 224.1 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.6146, allocations: 0 / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001002/0.6156, allocations: 417.5 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.6157, allocations: 170.1 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.617, allocations: 1.032 MB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.6171, allocations: 37.7 kB / 1.029 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.6173, allocations: 288.8 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/0.6174, allocations: 79.09 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.6177, allocations: 130.2 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6178, allocations: 334 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.6182, allocations: 213.2 kB / 1.03 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.6187, allocations: 315.2 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.6194, allocations: 408.1 kB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.6194, allocations: 11.98 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001177/0.6206, allocations: 0.672 MB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6206, allocations: 5.406 kB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6206, allocations: 4 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6206, allocations: 4 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.621, allocations: 115.8 kB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.6211, allocations: 11.88 kB / 1.032 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.6214, allocations: 39.98 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.6214, allocations: 27.98 kB / 1.032 GB, free: 2.719 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.0003265/0.6218, allocations: 278.1 kB / 1.032 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.6219, allocations: 75.05 kB / 1.032 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.622, allocations: 69.89 kB / 1.032 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.622, allocations: 4 kB / 1.032 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.622, allocations: 7.938 kB / 1.032 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.6221, allocations: 3.984 kB / 1.032 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.6225, allocations: 461.2 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6226, allocations: 4 kB / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.6226, allocations: 20 kB / 1.033 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6227, allocations: 7.938 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.6227, allocations: 7.984 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.6227, allocations: 7.938 kB / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6227, allocations: 3.938 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.6235, allocations: 394.7 kB / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.6237, allocations: 156.2 kB / 1.033 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.6238, allocations: 8 kB / 1.033 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.624, allocations: 19.97 kB / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.6241, allocations: 31.84 kB / 1.033 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.6241, allocations: 16 kB / 1.033 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008659/0.625, allocations: 0.6005 MB / 1.034 GB, free: 480 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.625, allocations: 4 kB / 1.034 GB, free: 476 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005134/0.6255, allocations: 119.9 kB / 1.034 GB, free: 356 kB / 0.7794 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.001185/0.6267, allocations: 484.8 kB / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008704/0.6276, allocations: 396.4 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6276, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.6278, allocations: 108.1 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.6288, allocations: 200.4 kB / 1.035 GB, free: 15.37 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.6306, allocations: 1.235 MB / 1.036 GB, free: 14.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.6311, allocations: 0.9249 MB / 1.037 GB, free: 13.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.6314, allocations: 116.8 kB / 1.037 GB, free: 13.03 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.6316, allocations: 63.42 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of SimCode: time 3.5e-07/0.6316, allocations: 0 / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of Templates: time 0.01476/0.6464, allocations: 7.415 MB / 1.045 GB, free: 5.641 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/jenkins/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