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.001339/0.001339, allocations: 104.9 kB / 15.98 MB, free: 6.34 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.001422/0.001422, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.508/1.508, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.546/2.546, allocations: 390.3 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 63.75 kB / 0.8127 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4151, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004641/0.4197, allocations: 1.718 MB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4212, allocations: 0.5069 MB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.4214, allocations: 3.938 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008388/0.4223, allocations: 167.8 kB / 0.9521 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.4229, allocations: 151.6 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.4236, allocations: 179.2 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.4241, allocations: 195.5 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.4243, allocations: 45.52 kB / 0.9526 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.4245, allocations: 75.73 kB / 0.9527 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.4248, allocations: 167.5 kB / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.4249, allocations: 15.94 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.4251, allocations: 35.98 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.4252, allocations: 79.81 kB / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.4254, allocations: 103.2 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.4258, allocations: 207.9 kB / 0.9533 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4259, allocations: 4 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.601e-06/0.4259, allocations: 0 / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.4259, allocations: 3.938 kB / 0.9533 GB, free: 5.609 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.001087/0.427, allocations: 0.5836 MB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.427, allocations: 12.03 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.4272, allocations: 28.56 kB / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.4277, allocations: 370.3 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4277, allocations: 384 / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.4278, allocations: 8.375 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.428, allocations: 77.72 kB / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.428, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4281, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4281, allocations: 4 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4283, allocations: 55.94 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.429, allocations: 436.5 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.4292, allocations: 50.55 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4293, allocations: 24.91 kB / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.4293, allocations: 0 / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4294, allocations: 38.59 kB / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4294, allocations: 0 / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004659/0.4299, allocations: 117.2 kB / 0.955 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4299, allocations: 55.41 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.4307, allocations: 0.5055 MB / 0.9556 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4307, allocations: 29.7 kB / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.4309, allocations: 164 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.4309, allocations: 11.89 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.431, allocations: 13.72 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4312, allocations: 346.8 kB / 0.9561 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.4313, allocations: 15.98 kB / 0.9561 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.4314, allocations: 19.97 kB / 0.9562 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4316, allocations: 48.77 kB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4316, allocations: 7.938 kB / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002866/0.4319, allocations: 97.28 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.4319, allocations: 4 kB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.432, allocations: 7.984 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.432, allocations: 0 / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4321, allocations: 8 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.4321, allocations: 7.938 kB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.4322, allocations: 15.86 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.4322, allocations: 4 kB / 0.9564 GB, free: 2.258 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.0001789/0.4324, allocations: 170.3 kB / 0.9565 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.4325, allocations: 31.61 kB / 0.9565 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.4328, allocations: 104.1 kB / 0.9566 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4328, allocations: 8 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4328, allocations: 0 / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4328, allocations: 3.938 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.4332, allocations: 261.5 kB / 0.9569 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4332, allocations: 0 / 0.9569 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.4332, allocations: 8 kB / 0.9569 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4332, allocations: 0 / 0.9569 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4333, allocations: 3.984 kB / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4333, allocations: 0 / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4333, allocations: 0 / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4336, allocations: 211.4 kB / 0.9571 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.4337, allocations: 104.8 kB / 0.9572 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.4337, allocations: 4 kB / 0.9572 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4339, allocations: 8 kB / 0.9572 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.4339, allocations: 3.984 kB / 0.9572 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4339, allocations: 3.938 kB / 0.9572 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004764/0.4344, allocations: 391.1 kB / 0.9576 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4344, allocations: 0 / 0.9576 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002805/0.4347, allocations: 27.91 kB / 0.9576 GB, free: 0.8398 MB / 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.001021/0.4357, allocations: 353.8 kB / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.436, allocations: 47.89 kB / 0.958 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.436, allocations: 0 / 0.958 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/0.4361, allocations: 19.98 kB / 0.958 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.4367, allocations: 45.16 kB / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.4377, allocations: 0.5675 MB / 0.9586 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.4382, allocations: 0.7826 MB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.4383, allocations: 27.42 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of SimCode: time 6.22e-07/0.4383, allocations: 0 / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.007593/0.4459, allocations: 3.164 MB / 0.9625 GB, free: 11.92 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