Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9618/0.9618, allocations: 177.1 MB / 202.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.808/1.808, allocations: 377.9 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.9809 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.232e-05, allocations: 6.219 kB / 0.9809 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002188/0.00221, allocations: 1.676 MB / 0.9826 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.003023, allocations: 0.6311 MB / 0.9832 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.003094, allocations: 7.938 kB / 0.9832 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.00356, allocations: 182 kB / 0.9834 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.003941, allocations: 210.8 kB / 0.9836 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.004249, allocations: 206.6 kB / 0.9838 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.004492, allocations: 219.4 kB / 0.984 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.004613, allocations: 21.8 kB / 0.984 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.004729, allocations: 103.8 kB / 0.9841 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.00492, allocations: 163.6 kB / 0.9842 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.00495, allocations: 12 kB / 0.9843 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.005063, allocations: 47.91 kB / 0.9843 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.005149, allocations: 87.69 kB / 0.9844 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.005201, allocations: 43.8 kB / 0.9844 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.00548, allocations: 271 kB / 0.9847 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.005485, allocations: 4 kB / 0.9847 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005486, allocations: 0 / 0.9847 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.005491, allocations: 0 / 0.9847 GB, free: 13.64 MB / 0.9011 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.0005782/0.006069, allocations: 0.5275 MB / 0.9852 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.006109, allocations: 12.03 kB / 0.9852 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.006139, allocations: 34.75 kB / 0.9852 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.006182, allocations: 32.7 kB / 0.9853 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.006529, allocations: 328 kB / 0.9856 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.006538, allocations: 384 / 0.9856 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.006549, allocations: 8.375 kB / 0.9856 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.006693, allocations: 78.16 kB / 0.9857 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.0067, allocations: 4.125 kB / 0.9857 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.00671, allocations: 7.938 kB / 0.9857 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.006715, allocations: 0 / 0.9857 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.006821, allocations: 47.95 kB / 0.9857 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.007282, allocations: 379.7 kB / 0.9861 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.007401, allocations: 50.56 kB / 0.9861 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.007452, allocations: 28.89 kB / 0.9862 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.007474, allocations: 0 / 0.9862 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.007492, allocations: 30.56 kB / 0.9862 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.007493, allocations: 3.938 kB / 0.9862 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002394/0.007733, allocations: 125.4 kB / 0.9863 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.007761, allocations: 55.41 kB / 0.9864 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.008151, allocations: 0.5289 MB / 0.9869 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.008163, allocations: 29.7 kB / 0.9869 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.008254, allocations: 172 kB / 0.9871 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.008271, allocations: 11.94 kB / 0.9871 GB, free: 11 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.008297, allocations: 17.72 kB / 0.9871 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.008385, allocations: 346.7 kB / 0.9874 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.008439, allocations: 19.98 kB / 0.9875 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.008476, allocations: 15.98 kB / 0.9875 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.008559, allocations: 48.81 kB / 0.9875 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008561, allocations: 0 / 0.9875 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001323/0.008693, allocations: 105.4 kB / 0.9876 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.008707, allocations: 4 kB / 0.9876 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008712, allocations: 0 / 0.9876 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.008723, allocations: 0 / 0.9876 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.008783, allocations: 15.98 kB / 0.9876 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.00879, allocations: 3.984 kB / 0.9876 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.008829, allocations: 16.27 kB / 0.9877 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.008834, allocations: 0 / 0.9877 GB, free: 10.39 MB / 0.9011 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.0001006/0.008934, allocations: 173.8 kB / 0.9878 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.008964, allocations: 27.81 kB / 0.9879 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.009134, allocations: 120.2 kB / 0.988 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009136, allocations: 0 / 0.988 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.00914, allocations: 0 / 0.988 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.009142, allocations: 3.938 kB / 0.988 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.009321, allocations: 228.6 kB / 0.9882 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009322, allocations: 0 / 0.9882 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.009352, allocations: 11.98 kB / 0.9882 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.009353, allocations: 0 / 0.9882 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.009359, allocations: 0 / 0.9882 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00936, allocations: 0 / 0.9882 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009361, allocations: 0 / 0.9882 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.009521, allocations: 203.2 kB / 0.9884 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.009559, allocations: 35.81 kB / 0.9884 GB, free: 9.527 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.009576, allocations: 7.938 kB / 0.9884 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.009625, allocations: 7.984 kB / 0.9884 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.009658, allocations: 4 kB / 0.9884 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.009662, allocations: 3.984 kB / 0.9885 GB, free: 9.504 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002645/0.009927, allocations: 395.1 kB / 0.9888 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.009927, allocations: 4 kB / 0.9888 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001748/0.0101, allocations: 31.88 kB / 0.9889 GB, free: 9.086 MB / 0.9011 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.0008941/0.011, allocations: 0.9982 MB / 0.9898 GB, free: 8.215 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.01114, allocations: 47.89 kB / 0.9899 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01114, allocations: 0 / 0.9899 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.01119, allocations: 27.97 kB / 0.9899 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.01152, allocations: 46.36 kB / 0.99 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.01358, allocations: 2.661 MB / 0.9926 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.01369, allocations: 173.8 kB / 0.9927 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 5.816e-05/0.01375, allocations: 37.92 kB / 0.9928 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.01384, allocations: 88.47 kB / 0.9928 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of SimCode: time 7.91e-07/0.01384, allocations: 0 / 0.9928 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.0335, allocations: 6.037 MB / 0.9987 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.789, allocations: 10.28 kB / 0.9987 GB, free: 15.09 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.225684414617717]