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.002162/0.002162, allocations: 111.9 kB / 15.61 MB, free: 128 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.002616/0.002617, allocations: 198.1 kB / 16.54 MB, free: 6.703 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.884/2.884, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 59.91 kB / 0.8693 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7235, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004678/0.7282, allocations: 2.476 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.7314, allocations: 1.575 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.7316, allocations: 11.88 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.7324, allocations: 322.9 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006614/0.7331, allocations: 334.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.7343, allocations: 437.5 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009392/0.7352, allocations: 0.709 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.7355, allocations: 73.73 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.7359, allocations: 322.6 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.7363, allocations: 330.7 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.968e-05/0.7364, allocations: 28 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.7367, allocations: 87.97 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.7369, allocations: 187.3 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.7372, allocations: 270.1 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008285/0.738, allocations: 0.7337 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7381, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7381, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.7381, allocations: 0 / 1.025 GB, free: 10.59 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.001714/0.7398, allocations: 1.011 MB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.7399, allocations: 12.02 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.74, allocations: 76 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009787/0.741, allocations: 0.6134 MB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.741, allocations: 8.375 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.7411, allocations: 23.91 kB / 1.027 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.7415, allocations: 209.9 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7416, allocations: 0 / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.7416, allocations: 4 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.7416, allocations: 4 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.7419, allocations: 95.88 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.7434, allocations: 1.056 MB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.744, allocations: 281 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.7443, allocations: 100.2 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.7443, allocations: 19.91 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.7448, allocations: 211.5 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 3.737e-06/0.7448, allocations: 4 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001032/0.7458, allocations: 424.7 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.7459, allocations: 162.2 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.7473, allocations: 1.04 MB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.7474, allocations: 33.7 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.7477, allocations: 288.9 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.7477, allocations: 79.09 kB / 1.031 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.748, allocations: 142.2 kB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7481, allocations: 326 kB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.7485, allocations: 217.1 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.749, allocations: 307 kB / 1.032 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.7497, allocations: 407.2 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.7498, allocations: 0 / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001245/0.751, allocations: 0.6718 MB / 1.033 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.751, allocations: 4 kB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7511, allocations: 12.09 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.7511, allocations: 4 kB / 1.033 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.7515, allocations: 115.8 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.7515, allocations: 11.94 kB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.7518, allocations: 35.73 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.7519, allocations: 27.98 kB / 1.033 GB, free: 2.23 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.0003762/0.7523, allocations: 278.6 kB / 1.033 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.7524, allocations: 75.06 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.7525, allocations: 77.88 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.7526, allocations: 8 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7526, allocations: 3.938 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7526, allocations: 0 / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.7532, allocations: 465.2 kB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7532, allocations: 4 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.7532, allocations: 23.92 kB / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7532, allocations: 0 / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.7533, allocations: 7.984 kB / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.7533, allocations: 4 kB / 1.034 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7533, allocations: 7.938 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.754, allocations: 391.4 kB / 1.034 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.7542, allocations: 156.2 kB / 1.034 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.7543, allocations: 16 kB / 1.034 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.7545, allocations: 11.98 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.7545, allocations: 23.91 kB / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.7546, allocations: 19.98 kB / 1.034 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008585/0.7554, allocations: 0.6005 MB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7554, allocations: 0 / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004566/0.7559, allocations: 115.9 kB / 1.035 GB, free: 15.87 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.001843/0.7577, allocations: 498 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009026/0.7587, allocations: 421.3 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7587, allocations: 0 / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.7589, allocations: 103.9 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.7599, allocations: 216.5 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.7617, allocations: 1.093 MB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.7624, allocations: 0.9246 MB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002961/0.7627, allocations: 120.9 kB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.7628, allocations: 55.42 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of SimCode: time 7.82e-07/0.7628, allocations: 0 / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of Templates: time 0.01687/0.7797, allocations: 7.763 MB / 1.046 GB, free: 4.938 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=400 -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