Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 106.1 kB / 16.37 MB, free: 6.477 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.001586/0.001586, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.03 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.458, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004561/0.4627, allocations: 1.67 MB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.4641, allocations: 0.5186 MB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.4642, allocations: 0 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.4649, allocations: 182.3 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.4654, allocations: 165.7 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.466, allocations: 190.6 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.4664, allocations: 195.5 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.4666, allocations: 41.52 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.4668, allocations: 75.75 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.4671, allocations: 159.6 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.4671, allocations: 15.94 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.4673, allocations: 43.98 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.4674, allocations: 79.75 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.4676, allocations: 95.28 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.468, allocations: 263 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4681, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4681, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.4681, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001158/0.4693, allocations: 0.5836 MB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.4693, allocations: 12.03 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.4694, allocations: 28.56 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.4701, allocations: 370.3 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4702, allocations: 4.312 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4702, allocations: 4.375 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.4705, allocations: 77.72 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4705, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4706, allocations: 4 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4706, allocations: 0 / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.4708, allocations: 51.95 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.4716, allocations: 428.5 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.4719, allocations: 54.55 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.472, allocations: 28.91 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.472, allocations: 7.984 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4721, allocations: 34.59 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.4721, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005493/0.4727, allocations: 121.3 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4727, allocations: 51.41 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.4736, allocations: 0.5055 MB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.4737, allocations: 25.7 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4739, allocations: 168 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.4739, allocations: 3.906 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.474, allocations: 17.72 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4742, allocations: 354.7 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4743, allocations: 15.98 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4745, allocations: 15.98 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.4747, allocations: 48.75 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4747, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003299/0.4751, allocations: 105.6 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4751, allocations: 11.22 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4751, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4752, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4753, allocations: 12.03 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4753, allocations: 0 / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.907e-05/0.4754, allocations: 15.86 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.4754, allocations: 4 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001997/0.4756, allocations: 177.7 kB / 1.034 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.4757, allocations: 27.62 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.4761, allocations: 112 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4761, allocations: 7.938 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4762, allocations: 0 / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4762, allocations: 3.938 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.4766, allocations: 257.5 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4767, allocations: 0 / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.4768, allocations: 15.98 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4768, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4768, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4768, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4768, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.4773, allocations: 203 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.4775, allocations: 108.7 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.4775, allocations: 12 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4777, allocations: 7.984 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.4778, allocations: 0 / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.4778, allocations: 3.938 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006911/0.4785, allocations: 387.1 kB / 1.035 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.82e-07/0.4785, allocations: 0 / 1.035 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00046/0.479, allocations: 20 kB / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001355/0.4803, allocations: 360.8 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.4807, allocations: 51.89 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4807, allocations: 0 / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4809, allocations: 23.98 kB / 1.035 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.4816, allocations: 43.92 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4828, allocations: 472.7 kB / 1.036 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.4834, allocations: 0.771 MB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.4835, allocations: 41.92 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.4836, allocations: 19.44 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.4836, allocations: 0 / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of Templates: time 0.008744/0.4924, allocations: 2.263 MB / 1.039 GB, free: 5.723 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches