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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008429/0.008429, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.001408/0.001408, allocations: 196.5 kB / 16.68 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.278/2.278, allocations: 222.9 MB / 240.4 MB, free: 15.07 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 3.649/3.649, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 63.89 kB / 0.9503 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508/1.511, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004964/1.516, allocations: 1.656 MB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001623/1.517, allocations: 0.5172 MB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/1.518, allocations: 6.406 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000898/1.518, allocations: 178.3 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006601/1.519, allocations: 171.2 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/1.52, allocations: 185.8 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005115/1.52, allocations: 203 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/1.521, allocations: 39.66 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/1.521, allocations: 80.53 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/1.521, allocations: 159.8 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/1.521, allocations: 11.91 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/1.522, allocations: 39.86 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/1.522, allocations: 75.75 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/1.522, allocations: 93.83 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000576/1.523, allocations: 270.1 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/1.523, allocations: 0.6562 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.445e-06/1.523, allocations: 4.625 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.916e-06/1.523, allocations: 0 / 1.091 GB, free: 3.195 MB / 0.8575 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.001223/1.524, allocations: 0.5812 MB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/1.524, allocations: 10.23 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/1.524, allocations: 37.48 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/1.524, allocations: 29.31 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/1.525, allocations: 375 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/1.525, allocations: 2.344 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/1.525, allocations: 7.953 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/1.525, allocations: 78.11 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.525, allocations: 0.7812 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/1.525, allocations: 4 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.525, allocations: 1.062 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/1.526, allocations: 50.39 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009397/1.527, allocations: 428.5 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/1.527, allocations: 52.16 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/1.527, allocations: 25.72 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/1.527, allocations: 1.828 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.527, allocations: 31.44 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/1.527, allocations: 4 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0007035/1.528, allocations: 113.9 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.528, allocations: 52.7 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.529, allocations: 0.5086 MB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/1.529, allocations: 35.41 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/1.529, allocations: 166.7 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/1.529, allocations: 10.69 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/1.529, allocations: 21.39 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.53, allocations: 341.4 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.53, allocations: 19.44 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/1.53, allocations: 16.75 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/1.53, allocations: 44.42 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.53, allocations: 4 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004193/1.531, allocations: 98.25 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/1.531, allocations: 10 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.531, allocations: 4.75 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.531, allocations: 0.7812 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/1.531, allocations: 14.48 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.531, allocations: 0.6562 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.531, allocations: 14.12 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/1.531, allocations: 1.344 kB / 1.094 GB, free: 0.8945 MB / 0.8575 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.0002129/1.531, allocations: 170.8 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/1.532, allocations: 28.91 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/1.532, allocations: 108.7 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.532, allocations: 0.7188 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.532, allocations: 1.359 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.532, allocations: 8.312 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/1.533, allocations: 259 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.533, allocations: 0.5625 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/1.533, allocations: 11.25 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.533, allocations: 0 / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/1.533, allocations: 12.95 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/1.533, allocations: 1.609 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.533, allocations: 0 / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/1.533, allocations: 198.5 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.533, allocations: 116.6 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/1.533, allocations: 1.297 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/1.534, allocations: 6.172 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/1.534, allocations: 6.688 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/1.534, allocations: 1.188 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008/1.535, allocations: 387.5 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of sort global known variables: time 4.21e-07/1.535, allocations: 0 / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005239/1.535, allocations: 28.27 kB / 1.095 GB, free: 0 / 0.8575 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.002212/1.537, allocations: 0.9839 MB / 1.096 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003935/1.538, allocations: 39.69 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.538, allocations: 0.5625 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/1.538, allocations: 27.14 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/1.539, allocations: 50.14 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/1.545, allocations: 2.581 MB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/1.545, allocations: 0.7764 MB / 1.1 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002004/1.546, allocations: 43.7 kB / 1.1 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.546, allocations: 84.09 kB / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of SimCode: time 1.263e-06/1.546, allocations: 0 / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/1.584, allocations: 5.02 MB / 1.105 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.98, allocations: 7.328 kB / 1.105 GB, free: 12.05 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_Table.fmu > 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