Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001844/0.001844, 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.001982/0.001982, 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.534/1.534, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.872/2.872, allocations: 469.4 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 62 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4194, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003642/0.4231, allocations: 1.647 MB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4242, allocations: 0.5147 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.4243, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.425, allocations: 186.6 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000467/0.4254, allocations: 168.1 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.426, allocations: 191.5 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.4263, allocations: 207.5 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.4265, allocations: 29.56 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.4267, allocations: 83.72 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.4269, allocations: 155.5 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.427, allocations: 12 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.4271, allocations: 39.98 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.4272, allocations: 79.73 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.4273, allocations: 99.28 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.4277, allocations: 255.4 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.4277, allocations: 11.94 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4277, allocations: 3.938 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4277, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 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.000898/0.4286, allocations: 0.5816 MB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4287, allocations: 8.625 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.4288, allocations: 28.56 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.4293, allocations: 374.3 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4294, allocations: 4.375 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.4294, allocations: 4.375 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.4296, allocations: 81.72 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4296, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4296, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4297, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.4299, allocations: 51.95 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.4305, allocations: 436.5 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.4307, allocations: 50.5 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4308, allocations: 32.89 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4308, allocations: 4 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4309, allocations: 30.56 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 3.266e-06/0.4309, allocations: 3.984 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0004352/0.4313, allocations: 113.4 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4314, allocations: 51.41 kB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.432, allocations: 0.5172 MB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.432, allocations: 25.7 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4321, allocations: 164 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.4322, allocations: 7.906 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.4322, allocations: 17.72 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4324, allocations: 346.7 kB / 1.071 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.4325, allocations: 15.98 kB / 1.071 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.4326, allocations: 19.98 kB / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.4327, allocations: 52.75 kB / 1.071 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4327, allocations: 0 / 1.071 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002748/0.433, allocations: 97.28 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4331, allocations: 4 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4331, allocations: 0 / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4331, allocations: 4 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.4332, allocations: 15.92 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4332, allocations: 4 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.4333, allocations: 15.86 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.4333, allocations: 0 / 1.071 GB, free: 8.016 MB / 0.8419 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.0001506/0.4335, allocations: 169.3 kB / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.4335, allocations: 27.62 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.4338, allocations: 120 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4338, allocations: 0 / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4338, allocations: 0 / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4339, allocations: 3.938 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.4341, allocations: 261.5 kB / 1.071 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4341, allocations: 0 / 1.071 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.4342, allocations: 15.98 kB / 1.071 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4342, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.4342, allocations: 7.938 kB / 1.071 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4342, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4342, allocations: 4 kB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.4345, allocations: 199 kB / 1.072 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.4346, allocations: 112.7 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.4347, allocations: 0 / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4348, allocations: 7.984 kB / 1.072 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.4348, allocations: 4.422 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.4349, allocations: 11.94 kB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003931/0.4353, allocations: 379.1 kB / 1.072 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4353, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002637/0.4355, allocations: 24 kB / 1.072 GB, free: 6.594 MB / 0.8419 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.0008366/0.4364, allocations: 361.3 kB / 1.072 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.4366, allocations: 43.95 kB / 1.073 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4366, allocations: 0 / 1.073 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.463e-05/0.4367, allocations: 27.92 kB / 1.073 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.4372, allocations: 37.53 kB / 1.073 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.4381, allocations: 0.4985 MB / 1.073 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4384, allocations: 0.7749 MB / 1.074 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.4385, allocations: 19.44 kB / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of SimCode: time 2.645e-06/0.4385, allocations: 0 / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of Templates: time 0.006237/0.4448, allocations: 3.178 MB / 1.077 GB, free: 1.723 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches