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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001887/0.001888, allocations: 101.5 kB / 16.27 MB, free: 6.414 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.001878/0.001878, allocations: 190 kB / 17.2 MB, free: 5.953 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.743/1.743, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 69.45 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4214, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004272/0.4257, allocations: 1.658 MB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.4269, allocations: 0.5163 MB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.4271, allocations: 7.938 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007044/0.4278, allocations: 178.9 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005283/0.4283, allocations: 155.6 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.429, allocations: 196.3 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.4294, allocations: 203.5 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.4296, allocations: 37.47 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.4297, allocations: 87.66 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.43, allocations: 151.6 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.4301, allocations: 12 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4302, allocations: 39.97 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4303, allocations: 79.75 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.4305, allocations: 99.22 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.4309, allocations: 259.4 kB / 1.022 GB, free: 7.039 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4309, allocations: 4 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4309, allocations: 0 / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.4309, allocations: 0 / 1.022 GB, free: 7.035 MB / 0.795 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.0009849/0.4319, allocations: 0.5797 MB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.432, allocations: 8.922 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/0.4321, allocations: 32.56 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.4326, allocations: 370.2 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4326, allocations: 4.375 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.4327, allocations: 4.375 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.4329, allocations: 77.78 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4329, allocations: 0 / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4329, allocations: 4 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4329, allocations: 0 / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.4332, allocations: 59.83 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.4338, allocations: 432.6 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.434, allocations: 46.59 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4341, allocations: 32.89 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.4342, allocations: 3.984 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4342, allocations: 38.56 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.4342, allocations: 0 / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004417/0.4347, allocations: 113.3 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.4347, allocations: 63.28 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.4354, allocations: 0.5055 MB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4354, allocations: 25.7 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4355, allocations: 172 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.4356, allocations: 3.906 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.4356, allocations: 17.72 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4358, allocations: 346.7 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.4359, allocations: 19.98 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.4359, allocations: 15.98 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.4361, allocations: 48.81 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4361, allocations: 0 / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002668/0.4364, allocations: 97.28 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4364, allocations: 8 kB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4365, allocations: 7.938 kB / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4365, allocations: 0 / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.4366, allocations: 11.98 kB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4366, allocations: 4 kB / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.4367, allocations: 15.86 kB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4367, allocations: 0 / 1.025 GB, free: 3.684 MB / 0.795 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.000153/0.4369, allocations: 165.8 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.4369, allocations: 31.62 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.4373, allocations: 108.1 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4373, allocations: 4 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4373, allocations: 0 / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4373, allocations: 3.938 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.4376, allocations: 261.5 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4376, allocations: 0 / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.4377, allocations: 15.92 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.4377, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4377, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4377, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4377, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.438, allocations: 203.5 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.4382, allocations: 116.8 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.4382, allocations: 0 / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4383, allocations: 11.92 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.4384, allocations: 4 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4384, allocations: 3.938 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004238/0.4388, allocations: 391.1 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4388, allocations: 0 / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002867/0.4391, allocations: 27.91 kB / 1.026 GB, free: 2.262 MB / 0.795 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.0009168/0.44, allocations: 350.8 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.4403, allocations: 47.95 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4403, allocations: 0 / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.4404, allocations: 19.98 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.4409, allocations: 44.48 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009222/0.4418, allocations: 0.5104 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.4423, allocations: 0.771 MB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.4423, allocations: 23.44 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of SimCode: time 1.002e-06/0.4424, allocations: 4 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of Templates: time 0.006641/0.449, allocations: 3.167 MB / 1.031 GB, free: 13.41 MB / 0.8106 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