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.007587/0.007587, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001242/0.001242, allocations: 197 kB / 16.67 MB, free: 5.973 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.606/2.606, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 62.88 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3105, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003538/0.3141, allocations: 1.656 MB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3153, allocations: 0.5123 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3155, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.3162, allocations: 170.7 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.3167, allocations: 167.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.3173, allocations: 191 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.3178, allocations: 203.4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.318, allocations: 45.73 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.3182, allocations: 83.67 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.3185, allocations: 155.6 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.3185, allocations: 12 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3187, allocations: 43.97 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.3188, allocations: 79.75 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.319, allocations: 103.2 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.3194, allocations: 262.8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3194, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3194, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.3195, allocations: 0 / 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.001236/0.3207, allocations: 0.5989 MB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.3208, allocations: 8.031 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.3208, allocations: 42.67 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3209, allocations: 28.75 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.3216, allocations: 374.7 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3216, allocations: 4.375 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3216, allocations: 4.375 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.3218, allocations: 77.53 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3219, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3219, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.3219, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.3221, allocations: 55.95 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.3227, allocations: 436.5 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3229, allocations: 42.56 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.3231, allocations: 24.89 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3231, allocations: 8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3231, allocations: 34.56 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3231, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.00045/0.3236, allocations: 117.5 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3236, allocations: 51.41 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/0.3243, allocations: 0.5132 MB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3244, allocations: 29.7 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3245, allocations: 172 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.3245, allocations: 3.953 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3246, allocations: 13.72 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3248, allocations: 346.8 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.3249, allocations: 15.98 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.325, allocations: 19.98 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3252, allocations: 48.81 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3252, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002835/0.3255, allocations: 101.4 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3255, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3255, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3255, allocations: 3.938 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3257, allocations: 19.98 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3257, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.3258, allocations: 19.81 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3258, allocations: 4 kB / 1.094 GB, free: 10.95 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.0001613/0.326, allocations: 165.8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.326, allocations: 28.14 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.3263, allocations: 116 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3264, allocations: 8 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3264, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3264, allocations: 3.938 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3267, allocations: 257.5 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3267, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.3267, allocations: 11.98 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3268, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3268, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3268, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3268, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.3271, allocations: 203.2 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3272, allocations: 112.9 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.3272, allocations: 4 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3273, allocations: 3.984 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.3274, allocations: 7.938 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3274, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004133/0.3278, allocations: 391.1 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3278, allocations: 0 / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002728/0.3281, allocations: 27.94 kB / 1.095 GB, free: 9.527 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.001376/0.3295, allocations: 0.977 MB / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.3298, allocations: 43.91 kB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3298, allocations: 0 / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.3299, allocations: 31.97 kB / 1.096 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3304, allocations: 43.14 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.3339, allocations: 2.599 MB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.3344, allocations: 0.7749 MB / 1.1 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3345, allocations: 37.92 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3346, allocations: 87.34 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.3346, allocations: 0 / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.3603, allocations: 5.014 MB / 1.105 GB, free: 12 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.353, allocations: 12.05 kB / 1.105 GB, free: 0 / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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