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.001468/0.001468, allocations: 108.8 kB / 16.37 MB, free: 6.473 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.001762/0.001762, allocations: 193.1 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.519/1.519, 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.738/2.738, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 61.17 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4232, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003652/0.4269, allocations: 1.668 MB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.4281, allocations: 0.5147 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.4282, allocations: 4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.4289, allocations: 183.4 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.4293, allocations: 158 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.4298, allocations: 190.7 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.4301, allocations: 207.5 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.4303, allocations: 37.55 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.4304, allocations: 83.72 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.4307, allocations: 155.6 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.4307, allocations: 12 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4308, allocations: 39.94 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.4309, allocations: 83.73 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.4311, allocations: 95.28 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.4314, allocations: 271 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4314, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.347e-06/0.4315, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4315, allocations: 0 / 1.03 GB, free: 14.41 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.0009766/0.4324, allocations: 0.5797 MB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4325, allocations: 11.97 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.478e-05/0.4326, allocations: 40.56 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.4331, allocations: 370.3 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4332, allocations: 4.375 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.4332, allocations: 4.375 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.4334, allocations: 73.73 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4334, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4334, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4335, allocations: 7.984 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.4337, allocations: 55.95 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.4343, allocations: 420.6 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.4344, allocations: 54.55 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.554e-05/0.4346, allocations: 24.91 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4346, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4346, allocations: 34.56 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4346, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003889/0.435, allocations: 113.3 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4351, allocations: 59.39 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.4357, allocations: 0.5055 MB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4357, allocations: 29.7 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.4358, allocations: 168 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.4359, allocations: 7.891 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.4359, allocations: 17.72 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.436, allocations: 342.8 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.4361, allocations: 15.98 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.4362, allocations: 23.97 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4364, allocations: 49.05 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4364, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002194/0.4366, allocations: 105.2 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4366, allocations: 8 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4366, allocations: 0 / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4367, allocations: 3.984 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.4368, allocations: 12 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4368, allocations: 0 / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.4369, allocations: 15.86 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4369, allocations: 0 / 1.033 GB, free: 11.07 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.0001504/0.437, allocations: 173.7 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.4371, allocations: 31.62 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.4374, allocations: 112 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4374, allocations: 4 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4374, allocations: 0 / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4374, allocations: 3.938 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.4377, allocations: 261.5 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4377, allocations: 3.984 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.4378, allocations: 8 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4378, allocations: 0 / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4378, allocations: 0 / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4378, allocations: 4 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4378, allocations: 3.984 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.4381, allocations: 207 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.4382, allocations: 104.7 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.4383, allocations: 3.984 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.4384, allocations: 8 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.4384, allocations: 7.984 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4385, allocations: 3.938 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004118/0.4389, allocations: 391.1 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4389, allocations: 0 / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002616/0.4391, allocations: 20 kB / 1.035 GB, free: 9.637 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.0009543/0.4401, allocations: 357 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.4404, allocations: 39.97 kB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4404, allocations: 0 / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.4405, allocations: 35.98 kB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.4409, allocations: 38.03 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.4417, allocations: 472.7 kB / 1.036 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.4421, allocations: 0.771 MB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.813e-05/0.4422, allocations: 37.92 kB / 1.036 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.4423, allocations: 23.42 kB / 1.036 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.4423, allocations: 4 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of Templates: time 0.006468/0.4487, allocations: 2.267 MB / 1.039 GB, free: 5.703 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 gbode -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