Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_10_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.006533/0.006533, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.001775/0.001775, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.252/2.252, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 59.84 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.6376, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002579/0.6402, allocations: 1.657 MB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.641, allocations: 0.5147 MB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.6411, allocations: 4 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.6416, allocations: 175.9 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.6419, allocations: 164.4 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.6423, allocations: 195.4 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.6425, allocations: 203.5 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.6426, allocations: 41.47 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.6427, allocations: 83.72 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.6429, allocations: 159.6 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.643, allocations: 19.94 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.6431, allocations: 32 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.6432, allocations: 75.75 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.6433, allocations: 95.28 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.6435, allocations: 270.5 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6436, allocations: 0 / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6436, allocations: 3.938 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6436, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 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.0007327/0.6443, allocations: 0.5952 MB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.6443, allocations: 12.62 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.6444, allocations: 38.75 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.6444, allocations: 28.75 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.6449, allocations: 374.6 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.6449, allocations: 4.375 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.6449, allocations: 4.375 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.6451, allocations: 73.55 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6451, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6451, allocations: 7.984 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6451, allocations: 7.938 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.6453, allocations: 47.95 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.6459, allocations: 436.4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.646, allocations: 50.55 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/0.6461, allocations: 28.91 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.6462, allocations: 96 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.6462, allocations: 34.5 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.6462, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/0.6466, allocations: 121.4 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.6466, allocations: 55.41 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.6472, allocations: 0.5132 MB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.6472, allocations: 25.7 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.6473, allocations: 160.1 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.6473, allocations: 15.88 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.6474, allocations: 13.72 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6475, allocations: 342.8 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.6476, allocations: 19.98 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.6477, allocations: 27.91 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.6479, allocations: 40.83 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6479, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002198/0.6481, allocations: 101.8 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.6481, allocations: 4 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.6481, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6481, allocations: 3.984 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.6482, allocations: 8 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.6482, allocations: 0 / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.6483, allocations: 15.92 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.6483, allocations: 4 kB / 1.173 GB, free: 12.65 MB / 0.9044 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.0001353/0.6484, allocations: 169.8 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.6485, allocations: 27.81 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.6488, allocations: 108.1 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6488, allocations: 4 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6488, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6488, allocations: 3.938 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.6491, allocations: 269.5 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6491, allocations: 0 / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.6491, allocations: 8 kB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6491, allocations: 3.938 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.6492, allocations: 8 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6492, allocations: 3.984 kB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6492, allocations: 3.984 kB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.6494, allocations: 203.1 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.6495, allocations: 105 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.6496, allocations: 7.984 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.6497, allocations: 8 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.6497, allocations: 7.922 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.6497, allocations: 0 / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004036/0.6501, allocations: 387.1 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6501, allocations: 0 / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002323/0.6504, allocations: 27.89 kB / 1.174 GB, free: 11.23 MB / 0.9044 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.001623/0.652, allocations: 0.9674 MB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.6522, allocations: 51.94 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6522, allocations: 0 / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.6523, allocations: 23.98 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.6527, allocations: 58.09 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.6556, allocations: 2.587 MB / 1.178 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.656, allocations: 0.771 MB / 1.178 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.054e-05/0.6561, allocations: 37.88 kB / 1.179 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.6562, allocations: 83.41 kB / 1.179 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6562, allocations: 4 kB / 1.179 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.661/2.318, allocations: 5.016 MB / 1.183 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/17.4, allocations: 10.56 kB / 1.183 GB, free: 1.707 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches