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.008709/0.008709, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001833/0.001833, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.7/2.7, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 69.19 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3854, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00429/0.3898, allocations: 1.67 MB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3913, allocations: 0.5044 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.3915, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009275/0.3925, allocations: 186.9 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.3932, allocations: 171.1 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.3939, allocations: 180.9 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.3944, allocations: 207.5 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.3946, allocations: 40.34 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.3949, allocations: 83.72 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.3952, allocations: 155.5 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.3953, allocations: 12 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3955, allocations: 47.98 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.3956, allocations: 75.75 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3958, allocations: 91.28 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.3963, allocations: 267.9 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3963, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3963, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3963, allocations: 4 kB / 1.091 GB, free: 14.36 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.001069/0.3974, allocations: 0.5797 MB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3974, allocations: 12.03 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.3975, allocations: 34.75 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.3976, allocations: 32.5 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.3982, allocations: 374.3 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3982, allocations: 4.375 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3982, allocations: 384 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3984, allocations: 85.53 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3985, allocations: 3.984 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3985, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3985, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3987, allocations: 55.89 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.3994, allocations: 424.5 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3996, allocations: 58.58 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3997, allocations: 24.91 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.3998, allocations: 3.984 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3998, allocations: 30.56 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3998, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000492/0.4003, allocations: 117.3 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.4004, allocations: 55.41 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.4011, allocations: 0.5093 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4011, allocations: 29.64 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.4013, allocations: 168 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.4013, allocations: 11.84 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.4014, allocations: 21.72 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4016, allocations: 338.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/0.4017, allocations: 23.97 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.4018, allocations: 11.98 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.402, allocations: 48.81 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.402, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002971/0.4023, allocations: 101.3 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.4023, allocations: 5.875 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4024, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.4024, allocations: 4 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4025, allocations: 7.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4025, allocations: 7.984 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.4026, allocations: 7.938 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4026, allocations: 0 / 1.094 GB, free: 10.98 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.0001559/0.4028, allocations: 173.8 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.4029, allocations: 31.56 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.4032, allocations: 112.1 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4032, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4032, allocations: 3.938 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.4032, allocations: 8.297 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.4035, allocations: 261.5 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4035, allocations: 4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.4036, allocations: 15.92 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4036, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4036, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4036, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4036, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.4039, allocations: 203.1 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4041, allocations: 112.7 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.4041, allocations: 0 / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.4042, allocations: 8 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4043, allocations: 7.922 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.4043, allocations: 4 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004453/0.4047, allocations: 383.1 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4047, allocations: 0 / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002776/0.405, allocations: 20 kB / 1.095 GB, free: 9.551 MB / 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.001458/0.4065, allocations: 0.9807 MB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4067, allocations: 39.95 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4068, allocations: 4 kB / 1.096 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.4069, allocations: 27.86 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.4074, allocations: 46.02 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.4109, allocations: 2.593 MB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.4114, allocations: 0.771 MB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.4115, allocations: 34.17 kB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4116, allocations: 87.39 kB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of SimCode: time 5.82e-07/0.4116, allocations: 4 kB / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.4447, allocations: 5.103 MB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.676, allocations: 6.094 kB / 1.105 GB, free: 15.94 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