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.001415/0.001416, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001347/0.001347, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.484/1.484, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.472/2.472, allocations: 390.2 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 61.64 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4154, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004856/0.4204, allocations: 1.649 MB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4218, allocations: 0.5186 MB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.422, allocations: 0 / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007878/0.4228, allocations: 177.2 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.4234, allocations: 173 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.4241, allocations: 191 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.4245, allocations: 199.5 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.4247, allocations: 37.53 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.4249, allocations: 79.73 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.4252, allocations: 163.5 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.4253, allocations: 12 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.4254, allocations: 43.92 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.4256, allocations: 71.81 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.4257, allocations: 99.22 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.4262, allocations: 259.4 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4262, allocations: 4 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4262, allocations: 0 / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.4262, allocations: 4 kB / 0.9538 GB, free: 5.246 MB / 0.7325 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.00112/0.4273, allocations: 0.5835 MB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.4274, allocations: 12.03 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4275, allocations: 28.56 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.4281, allocations: 366.4 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.4282, allocations: 4.375 kB / 0.9548 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.4282, allocations: 12.31 kB / 0.9548 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.4284, allocations: 77.72 kB / 0.9549 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4285, allocations: 0 / 0.9549 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4285, allocations: 4 kB / 0.9549 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4285, allocations: 0 / 0.9549 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.4287, allocations: 51.95 kB / 0.9549 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.4295, allocations: 436.5 kB / 0.9553 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.4297, allocations: 46.55 kB / 0.9554 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4298, allocations: 32.89 kB / 0.9554 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.4299, allocations: 4 kB / 0.9554 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.4299, allocations: 42.55 kB / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.4299, allocations: 0 / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000531/0.4305, allocations: 117.3 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4305, allocations: 51.41 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/0.4313, allocations: 0.5094 MB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4314, allocations: 29.7 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.4316, allocations: 168 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4316, allocations: 7.906 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.4317, allocations: 9.719 kB / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4319, allocations: 346.8 kB / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.432, allocations: 23.91 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.4321, allocations: 19.98 kB / 0.9567 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.4323, allocations: 52.81 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4323, allocations: 0 / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000275/0.4326, allocations: 97.22 kB / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4326, allocations: 5.875 kB / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4326, allocations: 0 / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4326, allocations: 0 / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.4327, allocations: 15.98 kB / 0.9569 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4328, allocations: 4 kB / 0.9569 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.4329, allocations: 11.88 kB / 0.9569 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.4329, allocations: 4 kB / 0.9569 GB, free: 1.891 MB / 0.7325 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.0001642/0.4331, allocations: 169.8 kB / 0.957 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.4331, allocations: 27.62 kB / 0.9571 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.4335, allocations: 112 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4335, allocations: 8 kB / 0.9572 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4335, allocations: 3.938 kB / 0.9572 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.4335, allocations: 3.938 kB / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.4339, allocations: 257.5 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4339, allocations: 0 / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.4339, allocations: 11.98 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4339, allocations: 0 / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.434, allocations: 0 / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.434, allocations: 0 / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.434, allocations: 4 kB / 0.9575 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.4343, allocations: 199 kB / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4344, allocations: 113.2 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.4344, allocations: 0 / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4346, allocations: 7.984 kB / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.4346, allocations: 0 / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.4346, allocations: 7.938 kB / 0.9578 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004402/0.4351, allocations: 387.1 kB / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4351, allocations: 0 / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002814/0.4354, allocations: 27.91 kB / 0.9582 GB, free: 484 kB / 0.7325 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.001064/0.4364, allocations: 361.9 kB / 0.9585 GB, free: 248 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.4367, allocations: 39.95 kB / 0.9585 GB, free: 208 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4367, allocations: 0 / 0.9585 GB, free: 208 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4368, allocations: 23.92 kB / 0.9586 GB, free: 184 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.4374, allocations: 47.88 kB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.4385, allocations: 0.5026 MB / 0.9591 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.439, allocations: 0.7748 MB / 0.9599 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.4391, allocations: 23.44 kB / 0.9599 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.4391, allocations: 0 / 0.9599 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.008124/0.4472, allocations: 3.18 MB / 0.963 GB, free: 11.6 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches