Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_10_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_10_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.001758/0.001758, allocations: 100.1 kB / 15.88 MB, free: 12 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.00225/0.00225, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.483/1.483, allocations: 222.9 MB / 240.5 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.94/2.94, allocations: 437 MB / 0.7106 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.14 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9806/0.9819, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004116/0.9861, allocations: 1.71 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.9873, allocations: 0.5226 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.9874, allocations: 3.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.9882, allocations: 166.7 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.9886, allocations: 152.3 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.9891, allocations: 180.2 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.9895, allocations: 191.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.9896, allocations: 33.48 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.9898, allocations: 71.67 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.99, allocations: 151.6 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.99, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.9901, allocations: 39.86 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.9902, allocations: 75.73 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.9903, allocations: 87.28 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.9906, allocations: 213.5 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9906, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.9906, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.9906, allocations: 0 / 1.021 GB, free: 15.19 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008356/0.9915, allocations: 0.5836 MB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9915, allocations: 12.03 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.9916, allocations: 32.56 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.9921, allocations: 366.4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.9921, allocations: 4.375 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.9921, allocations: 8.312 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.9923, allocations: 73.78 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.9924, allocations: 7.922 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9924, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9924, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.9926, allocations: 59.94 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.9932, allocations: 420.5 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.9933, allocations: 50.56 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.9934, allocations: 28.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.9935, allocations: 3.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.9935, allocations: 34.56 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9935, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000407/0.9939, allocations: 113.3 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.994, allocations: 55.41 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.9945, allocations: 0.5133 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.9946, allocations: 25.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.9947, allocations: 168 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.9947, allocations: 7.906 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.9948, allocations: 13.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.995, allocations: 346.8 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.233e-05/0.9951, allocations: 19.98 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.9951, allocations: 27.91 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.9953, allocations: 40.83 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9953, allocations: 4 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002366/0.9956, allocations: 93.28 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.9956, allocations: 7.938 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9956, allocations: 8 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.9956, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.9957, allocations: 11.98 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.9957, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.9958, allocations: 15.92 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.9958, allocations: 4 kB / 1.024 GB, free: 11.84 MB / 0.7794 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.000149/0.996, allocations: 169.8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.996, allocations: 27.62 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.9964, allocations: 112.1 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.9964, allocations: 4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9964, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9964, allocations: 3.938 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.9967, allocations: 257.9 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9967, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.9968, allocations: 11.98 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9968, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.9968, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9968, allocations: 3.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9968, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.9971, allocations: 207 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.9972, allocations: 108.8 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.9972, allocations: 4 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.9973, allocations: 11.98 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.9974, allocations: 0 / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.9974, allocations: 3.938 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004121/0.9978, allocations: 391.1 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9978, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002608/0.9981, allocations: 23.91 kB / 1.025 GB, free: 10.42 MB / 0.7794 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.000892/0.999, allocations: 359.3 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.9992, allocations: 43.89 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9992, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.9993, allocations: 27.97 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.9998, allocations: 40.83 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008797/1.001, allocations: 0.5549 MB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.001, allocations: 0.7752 MB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/1.001, allocations: 23.42 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/1.001, allocations: 0 / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.005506/1.007, allocations: 3.167 MB / 1.03 GB, free: 5.512 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches