Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 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.002238/0.002238, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.754/2.754, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00364/1.013, allocations: 1.655 MB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/1.014, allocations: 0.5219 MB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/1.014, allocations: 1.281 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006164/1.015, allocations: 177.9 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004485/1.015, allocations: 169 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/1.016, allocations: 185 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/1.016, allocations: 204.5 kB / 0.9524 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/1.016, allocations: 41.39 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/1.017, allocations: 80.02 kB / 0.9525 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/1.017, allocations: 156.3 kB / 0.9527 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/1.017, allocations: 11.34 kB / 0.9527 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/1.017, allocations: 45.16 kB / 0.9527 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/1.017, allocations: 80.47 kB / 0.9528 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/1.017, allocations: 90.17 kB / 0.9529 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/1.018, allocations: 265 kB / 0.9531 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.018, allocations: 4 kB / 0.9531 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/1.018, allocations: 1.531 kB / 0.9531 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.018, allocations: 0 / 0.9531 GB, free: 6.566 MB / 0.7169 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.0008147/1.018, allocations: 0.5828 MB / 0.9537 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.018, allocations: 13.44 kB / 0.9537 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/1.019, allocations: 29.09 kB / 0.9537 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/1.019, allocations: 370.3 kB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.019, allocations: 5.531 kB / 0.9541 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/1.019, allocations: 6.719 kB / 0.9541 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/1.019, allocations: 71.8 kB / 0.9542 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.019, allocations: 3.984 kB / 0.9542 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.019, allocations: 5.156 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.019, allocations: 1.188 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/1.02, allocations: 52.95 kB / 0.9542 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/1.02, allocations: 427.8 kB / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/1.02, allocations: 45.52 kB / 0.9547 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/1.02, allocations: 24.72 kB / 0.9547 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/1.021, allocations: 5.406 kB / 0.9547 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/1.021, allocations: 34.56 kB / 0.9548 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.021, allocations: 3.938 kB / 0.9548 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004417/1.021, allocations: 120.7 kB / 0.9549 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.021, allocations: 52.53 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/1.022, allocations: 0.5072 MB / 0.9554 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/1.022, allocations: 30.98 kB / 0.9554 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.022, allocations: 169.5 kB / 0.9556 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/1.022, allocations: 8.859 kB / 0.9556 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/1.022, allocations: 12.72 kB / 0.9556 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/1.022, allocations: 349.9 kB / 0.956 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/1.022, allocations: 13.14 kB / 0.956 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/1.022, allocations: 22.59 kB / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/1.022, allocations: 47.11 kB / 0.956 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.022, allocations: 0 / 0.956 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002352/1.023, allocations: 102 kB / 0.9561 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.023, allocations: 5.125 kB / 0.9561 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.023, allocations: 5.297 kB / 0.9561 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.023, allocations: 3.938 kB / 0.9562 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/1.023, allocations: 11.38 kB / 0.9562 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.023, allocations: 0 / 0.9562 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/1.023, allocations: 12.45 kB / 0.9562 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/1.023, allocations: 1.281 kB / 0.9562 GB, free: 4.016 MB / 0.7169 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.0001514/1.023, allocations: 166.5 kB / 0.9563 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/1.023, allocations: 32.59 kB / 0.9564 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/1.023, allocations: 113.3 kB / 0.9565 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.023, allocations: 4.938 kB / 0.9565 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.023, allocations: 0 / 0.9565 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.023, allocations: 5.188 kB / 0.9565 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/1.024, allocations: 265.9 kB / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.024, allocations: 0 / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/1.024, allocations: 8.219 kB / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.024, allocations: 0 / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.024, allocations: 5.156 kB / 0.9568 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/1.024, allocations: 7.969 kB / 0.9568 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.024, allocations: 0 / 0.9568 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/1.024, allocations: 198.5 kB / 0.9569 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/1.024, allocations: 110 kB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/1.024, allocations: 5.422 kB / 0.9571 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/1.024, allocations: 3.062 kB / 0.9571 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/1.024, allocations: 13.42 kB / 0.9571 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/1.024, allocations: 5.5 kB / 0.9571 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004143/1.025, allocations: 386.6 kB / 0.9574 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.025, allocations: 0 / 0.9574 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000267/1.025, allocations: 31.09 kB / 0.9575 GB, free: 2.973 MB / 0.7169 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.000837/1.026, allocations: 348.4 kB / 0.9578 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002436/1.026, allocations: 40.72 kB / 0.9578 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.026, allocations: 0 / 0.9578 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/1.026, allocations: 25.66 kB / 0.9579 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/1.027, allocations: 49.66 kB / 0.9579 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007733/1.028, allocations: 470.1 kB / 0.9584 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/1.028, allocations: 0.7833 MB / 0.9591 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001103/1.028, allocations: 28.98 kB / 0.9592 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/1.028, allocations: 22.95 kB / 0.9592 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/1.028, allocations: 0.9375 kB / 0.9592 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.006599/1.035, allocations: 2.272 MB / 0.9614 GB, free: 0.5625 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches