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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001615/0.001615, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002009/0.002009, allocations: 194 kB / 16.25 MB, free: 6.633 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.557/1.557, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.2/3.2, allocations: 472.6 MB / 0.7448 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 74.14 kB / 0.9116 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5987, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.005976/0.6048, allocations: 1.714 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.6062, allocations: 0.5069 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.6065, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.6073, allocations: 173.8 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.6078, allocations: 146.9 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.6084, allocations: 178.5 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00047/0.6089, allocations: 203.5 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.6091, allocations: 37.52 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.6093, allocations: 83.67 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.6097, allocations: 159.5 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.6098, allocations: 19.94 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.61, allocations: 43.97 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.6102, allocations: 79.75 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.6104, allocations: 91.28 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.611, allocations: 259.4 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.611, allocations: 4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.605e-06/0.611, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.611, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 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.001478/0.6125, allocations: 0.5797 MB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.6126, allocations: 20.02 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.6127, allocations: 28.56 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.6135, allocations: 370.3 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.6136, allocations: 4.375 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.6136, allocations: 4.375 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.6139, allocations: 77.72 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6139, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.614, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.614, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.6143, allocations: 55.95 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.6151, allocations: 428.5 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.6154, allocations: 54.55 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.6155, allocations: 28.89 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.6155, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.6156, allocations: 34.56 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 3.797e-06/0.6156, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005852/0.6162, allocations: 121.3 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.6163, allocations: 51.41 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.6171, allocations: 0.5132 MB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.6172, allocations: 25.7 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.6173, allocations: 168.1 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.6174, allocations: 11.81 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.6174, allocations: 9.719 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.6176, allocations: 350.7 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.6178, allocations: 23.98 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.6179, allocations: 15.98 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.6181, allocations: 52.75 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6181, allocations: 0 / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003094/0.6184, allocations: 93.31 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6185, allocations: 8 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6185, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.6185, allocations: 4.328 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6186, allocations: 7.984 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.6187, allocations: 4 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.6188, allocations: 23.77 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.6188, allocations: 0 / 1.074 GB, free: 3.754 MB / 0.8262 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.0002219/0.6191, allocations: 169.8 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.6191, allocations: 27.72 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.6195, allocations: 120 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6196, allocations: 0 / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6196, allocations: 0 / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.6196, allocations: 3.938 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.62, allocations: 261.5 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.62, allocations: 0 / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.6201, allocations: 11.98 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6201, allocations: 4 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.6201, allocations: 0 / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6201, allocations: 4 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6201, allocations: 0 / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.6205, allocations: 191.1 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.6207, allocations: 116.7 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.6207, allocations: 7.938 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.6208, allocations: 7.984 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.6209, allocations: 0 / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.6209, allocations: 7.938 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005932/0.6215, allocations: 387.1 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6215, allocations: 0 / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003712/0.6219, allocations: 24 kB / 1.076 GB, free: 2.332 MB / 0.8262 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.001174/0.6231, allocations: 346.5 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.6234, allocations: 39.95 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6234, allocations: 0 / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.6236, allocations: 27.92 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.6242, allocations: 53.41 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.6253, allocations: 0.5284 MB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.6259, allocations: 0.7748 MB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.626, allocations: 41.91 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.6261, allocations: 19.44 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.6261, allocations: 0 / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of Templates: time 0.008051/0.6341, allocations: 2.215 MB / 1.08 GB, free: 14.37 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches