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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 218.5 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.215/3.215, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 68.62 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3469, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003472/0.3503, allocations: 1.687 MB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3517, allocations: 0.6325 MB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3518, allocations: 7.938 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.3523, allocations: 186.4 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.3529, allocations: 205.5 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.3534, allocations: 200 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.3537, allocations: 215.4 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3539, allocations: 29.73 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.354, allocations: 87.61 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.3543, allocations: 167.6 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.3543, allocations: 12 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3544, allocations: 43.92 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3545, allocations: 87.67 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.3546, allocations: 75.47 kB / 1.368 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.355, allocations: 282.7 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.355, allocations: 4 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.355, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.355, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 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.0008957/0.3559, allocations: 0.5275 MB / 1.369 GB, free: 9.094 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.356, allocations: 12.03 kB / 1.369 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.356, allocations: 32.7 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.3566, allocations: 316.8 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3566, allocations: 8.375 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3566, allocations: 8.312 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3568, allocations: 77.72 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3569, allocations: 0 / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3569, allocations: 4 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3569, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.3571, allocations: 55.89 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.3576, allocations: 360.2 kB / 1.37 GB, free: 8.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.3578, allocations: 46.56 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.3579, allocations: 32.88 kB / 1.37 GB, free: 8.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.3579, allocations: 0 / 1.37 GB, free: 8.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3579, allocations: 42.59 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3579, allocations: 0 / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003987/0.3583, allocations: 117.5 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3584, allocations: 55.41 kB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.359, allocations: 0.525 MB / 1.371 GB, free: 7.316 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.359, allocations: 29.7 kB / 1.371 GB, free: 7.281 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3592, allocations: 172 kB / 1.371 GB, free: 7.109 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3592, allocations: 7.891 kB / 1.371 GB, free: 7.102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3592, allocations: 17.72 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.3594, allocations: 350.7 kB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.3595, allocations: 15.98 kB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.3596, allocations: 15.98 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3597, allocations: 52.75 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3597, allocations: 0 / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000237/0.36, allocations: 105.4 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.36, allocations: 4 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.36, allocations: 0 / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.36, allocations: 0 / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.3601, allocations: 11.98 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3601, allocations: 4 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.3602, allocations: 11.98 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3602, allocations: 0 / 1.371 GB, free: 6.5 MB / 1.061 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.0001506/0.3603, allocations: 169.8 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.3604, allocations: 27.81 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3607, allocations: 116.2 kB / 1.372 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3607, allocations: 3.938 kB / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3607, allocations: 0 / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3607, allocations: 8 kB / 1.372 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.3609, allocations: 201.2 kB / 1.372 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3609, allocations: 0 / 1.372 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.361, allocations: 11.98 kB / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.361, allocations: 0 / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.361, allocations: 0 / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.361, allocations: 0 / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.361, allocations: 0 / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.3613, allocations: 207.2 kB / 1.372 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.3614, allocations: 48.22 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3614, allocations: 3.938 kB / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3615, allocations: 7.984 kB / 1.372 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3616, allocations: 4 kB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3616, allocations: 0 / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004516/0.362, allocations: 399.1 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.362, allocations: 0 / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002625/0.3623, allocations: 27.94 kB / 1.372 GB, free: 5.227 MB / 1.061 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.001373/0.3637, allocations: 378.1 kB / 1.373 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.3639, allocations: 47.89 kB / 1.373 GB, free: 4.953 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3639, allocations: 11.88 kB / 1.373 GB, free: 4.941 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.364, allocations: 23.98 kB / 1.373 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3645, allocations: 44.05 kB / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.3653, allocations: 0.5205 MB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3655, allocations: 165.8 kB / 1.374 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.3656, allocations: 23.42 kB / 1.374 GB, free: 4.125 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.3656, allocations: 4 kB / 1.374 GB, free: 4.121 MB / 1.061 GB Notification: Performance of Templates: time 0.006057/0.3716, allocations: 3.427 MB / 1.377 GB, free: 0.6914 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.717431866098195]