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.001463/0.001463, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001781/0.001781, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.31/2.31, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.6711, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002707/0.6738, allocations: 1.7 MB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000776/0.6746, allocations: 0.5155 MB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.6747, allocations: 4.719 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.6752, allocations: 164.3 kB / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.6755, allocations: 159.1 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.6759, allocations: 181.8 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.6761, allocations: 204.4 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.6762, allocations: 40.14 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.6763, allocations: 82.86 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.6765, allocations: 161.2 kB / 0.9523 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.6766, allocations: 12.25 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.6767, allocations: 37.56 kB / 0.9524 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.6767, allocations: 76.3 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.6768, allocations: 95.38 kB / 0.9526 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.6771, allocations: 261.7 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6771, allocations: 1.406 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6771, allocations: 0 / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6771, allocations: 0 / 0.9528 GB, free: 6.527 MB / 0.7169 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.0006408/0.6777, allocations: 0.5948 MB / 0.9534 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6778, allocations: 9.781 kB / 0.9534 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.6778, allocations: 31.69 kB / 0.9534 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.6779, allocations: 31.12 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.6782, allocations: 376.1 kB / 0.9538 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.6783, allocations: 6.797 kB / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.6783, allocations: 3.094 kB / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.6785, allocations: 74.75 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6785, allocations: 4 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.6785, allocations: 1.125 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6785, allocations: 1.531 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.6787, allocations: 52.14 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.6791, allocations: 423.6 kB / 0.9544 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.6793, allocations: 58.7 kB / 0.9544 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.6794, allocations: 23.53 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.6794, allocations: 1.344 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.6794, allocations: 32.03 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.6794, allocations: 3.938 kB / 0.9545 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003572/0.6798, allocations: 120 kB / 0.9546 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.6798, allocations: 52.84 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.6803, allocations: 0.5114 MB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.6803, allocations: 25.7 kB / 0.9552 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.6804, allocations: 174.1 kB / 0.9553 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.6804, allocations: 5.031 kB / 0.9553 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.6804, allocations: 25.34 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.6805, allocations: 340.4 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.6806, allocations: 18.38 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.6807, allocations: 18.67 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.6808, allocations: 46.38 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6808, allocations: 0 / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002058/0.6811, allocations: 106.5 kB / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.6811, allocations: 4.812 kB / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6811, allocations: 1.312 kB / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.6811, allocations: 0 / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.6812, allocations: 15.86 kB / 0.9559 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6812, allocations: 3.984 kB / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.6813, allocations: 7.594 kB / 0.9559 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.6813, allocations: 5.406 kB / 0.9559 GB, free: 3.918 MB / 0.7169 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.0001099/0.6814, allocations: 170.7 kB / 0.9561 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.6815, allocations: 28.25 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.6817, allocations: 106 kB / 0.9562 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6817, allocations: 1.062 kB / 0.9562 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6817, allocations: 3.984 kB / 0.9562 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6817, allocations: 7.969 kB / 0.9562 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.682, allocations: 263 kB / 0.9564 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.682, allocations: 0 / 0.9564 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.682, allocations: 15.64 kB / 0.9565 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.682, allocations: 1.969 kB / 0.9565 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.6821, allocations: 3.938 kB / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6821, allocations: 0 / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6821, allocations: 0 / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.6823, allocations: 202.3 kB / 0.9567 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.6824, allocations: 109.7 kB / 0.9568 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.6824, allocations: 1.5 kB / 0.9568 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.6825, allocations: 7.094 kB / 0.9568 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.6825, allocations: 9.484 kB / 0.9568 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.6825, allocations: 1.5 kB / 0.9568 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003369/0.6829, allocations: 382.8 kB / 0.9571 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6829, allocations: 0 / 0.9571 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002539/0.6831, allocations: 31.06 kB / 0.9572 GB, free: 2.895 MB / 0.7169 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.001045/0.6842, allocations: 0.9819 MB / 0.9581 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.6844, allocations: 40.7 kB / 0.9582 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6844, allocations: 0 / 0.9582 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.6845, allocations: 25.67 kB / 0.9582 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.6849, allocations: 47.94 kB / 0.9582 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.6876, allocations: 2.646 MB / 0.9608 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.6879, allocations: 0.7751 MB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.383e-05/0.688, allocations: 32.66 kB / 0.9616 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6881, allocations: 83.97 kB / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6881, allocations: 0 / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.7144, allocations: 4.792 MB / 0.9664 GB, free: 13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.7146, allocations: 233.5 kB / 0.9666 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.606, allocations: 11.94 kB / 0.9666 GB, free: 12.73 MB / 0.7325 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