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.001036/0.001036, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008145/0.008146, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.655/2.655, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004389, allocations: 8 kB / 0.8159 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.158, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002781/1.161, allocations: 1.368 MB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001008/1.162, allocations: 0.5034 MB / 0.9569 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/1.162, allocations: 5.125 kB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/1.163, allocations: 166.4 kB / 0.957 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004418/1.163, allocations: 145.5 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/1.164, allocations: 185.8 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/1.164, allocations: 194.8 kB / 0.9575 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/1.164, allocations: 27.97 kB / 0.9575 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/1.164, allocations: 71.84 kB / 0.9576 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/1.165, allocations: 141.2 kB / 0.9577 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/1.165, allocations: 4.375 kB / 0.9577 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/1.165, allocations: 40.86 kB / 0.9578 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/1.165, allocations: 68.73 kB / 0.9579 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/1.165, allocations: 112 kB / 0.958 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/1.165, allocations: 257.2 kB / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.165, allocations: 2 kB / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.215e-06/1.165, allocations: 0 / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.165, allocations: 0 / 0.9582 GB, free: 5.379 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.0008389/1.166, allocations: 0.5476 MB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/1.166, allocations: 17.75 kB / 0.9588 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.617e-05/1.166, allocations: 29.69 kB / 0.9588 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/1.167, allocations: 372.9 kB / 0.9591 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/1.167, allocations: 1.75 kB / 0.9591 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/1.167, allocations: 7.125 kB / 0.9592 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/1.167, allocations: 77.28 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.167, allocations: 0 / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.167, allocations: 8 kB / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.167, allocations: 1.375 kB / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/1.168, allocations: 66.38 kB / 0.9593 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/1.168, allocations: 424.5 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/1.168, allocations: 55.34 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/1.169, allocations: 37.33 kB / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/1.169, allocations: 3.984 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/1.169, allocations: 31.94 kB / 0.9598 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.169, allocations: 0 / 0.9598 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004902/1.169, allocations: 131.2 kB / 0.96 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.169, allocations: 51.41 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/1.17, allocations: 0.5124 MB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.17, allocations: 26.7 kB / 0.9605 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.17, allocations: 168.7 kB / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/1.17, allocations: 13.31 kB / 0.9607 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/1.17, allocations: 14.5 kB / 0.9607 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.17, allocations: 349.1 kB / 0.961 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/1.171, allocations: 22.92 kB / 0.9611 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/1.171, allocations: 19.73 kB / 0.9611 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.171, allocations: 60.81 kB / 0.9611 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.171, allocations: 0 / 0.9611 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/1.171, allocations: 111.7 kB / 0.9613 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.171, allocations: 5.875 kB / 0.9613 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.171, allocations: 0 / 0.9613 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.171, allocations: 3.938 kB / 0.9613 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.171, allocations: 18.27 kB / 0.9613 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.171, allocations: 1.188 kB / 0.9613 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/1.171, allocations: 13.36 kB / 0.9613 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/1.171, allocations: 9.125 kB / 0.9613 GB, free: 2.836 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.0001793/1.172, allocations: 167.1 kB / 0.9615 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/1.172, allocations: 28.34 kB / 0.9615 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/1.172, allocations: 127.2 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.172, allocations: 1 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.172, allocations: 0 / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.172, allocations: 5.188 kB / 0.9616 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/1.172, allocations: 261.9 kB / 0.9619 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.172, allocations: 0 / 0.9619 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/1.173, allocations: 13.98 kB / 0.9619 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.173, allocations: 4.969 kB / 0.9619 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/1.173, allocations: 0 / 0.9619 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.173, allocations: 0.9688 kB / 0.9619 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.173, allocations: 4 kB / 0.9619 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/1.173, allocations: 207.7 kB / 0.9621 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.173, allocations: 123.4 kB / 0.9622 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/1.173, allocations: 4 kB / 0.9622 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.173, allocations: 7.266 kB / 0.9622 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/1.173, allocations: 5.047 kB / 0.9622 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.173, allocations: 5.562 kB / 0.9622 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000566/1.174, allocations: 386.9 kB / 0.9626 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.192e-06/1.174, allocations: 0 / 0.9626 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003019/1.174, allocations: 19.62 kB / 0.9626 GB, free: 1.812 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.001016/1.175, allocations: 361 kB / 0.963 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002876/1.175, allocations: 58.52 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.176, allocations: 0 / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/1.176, allocations: 26.89 kB / 0.963 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/1.176, allocations: 38.55 kB / 0.9631 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/1.177, allocations: 0.5299 MB / 0.9636 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.177, allocations: 0.7763 MB / 0.9643 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.654e-05/1.177, allocations: 37.53 kB / 0.9644 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/1.178, allocations: 25.52 kB / 0.9644 GB, free: 444 kB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/1.178, allocations: 0 / 0.9644 GB, free: 444 kB / 0.7169 GB Notification: Performance of Templates: time 0.007264/1.185, allocations: 2.106 MB / 0.9665 GB, free: 15.4 MB / 0.7325 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