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.001217/0.001217, 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.001376/0.001376, allocations: 169.9 kB / 22.46 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.9245/0.9245, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.774/1.774, allocations: 377.8 MB / 0.6221 GB, free: 8.621 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 2.825e-06/2.825e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.613e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002671/0.002707, allocations: 1.68 MB / 0.9825 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008933/0.0036, allocations: 0.6389 MB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003701, allocations: 7.938 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.004227, allocations: 181.5 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.004682, allocations: 224.7 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.005018, allocations: 195.9 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.00527, allocations: 215.4 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.005391, allocations: 25.78 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.005513, allocations: 111.7 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.005682, allocations: 155.7 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.005707, allocations: 16 kB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.00579, allocations: 43.86 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.005867, allocations: 87.75 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.005921, allocations: 55.72 kB / 0.9844 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.006191, allocations: 259.1 kB / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006194, allocations: 0 / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.006195, allocations: 0 / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.0062, allocations: 0 / 0.9847 GB, free: 14.74 MB / 0.948 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.0006381/0.006838, allocations: 0.5392 MB / 0.9852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006882, allocations: 8.031 kB / 0.9852 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.00692, allocations: 34.75 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.006974, allocations: 32.7 kB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.007368, allocations: 336 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.00738, allocations: 384 / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.007392, allocations: 4.375 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.007564, allocations: 70.17 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.007572, allocations: 192 / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.007584, allocations: 7.938 kB / 0.9857 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.007591, allocations: 3.984 kB / 0.9857 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.007698, allocations: 51.95 kB / 0.9857 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.008143, allocations: 375.8 kB / 0.9861 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.008264, allocations: 50.55 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.008314, allocations: 24.91 kB / 0.9862 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.008339, allocations: 0 / 0.9862 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.008361, allocations: 34.55 kB / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.008362, allocations: 0 / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002649/0.008627, allocations: 129.6 kB / 0.9863 GB, free: 12.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.008662, allocations: 51.41 kB / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.009069, allocations: 0.525 MB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.009082, allocations: 29.7 kB / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.009175, allocations: 175.9 kB / 0.9871 GB, free: 12.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.009197, allocations: 11.95 kB / 0.9871 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.009223, allocations: 9.719 kB / 0.9871 GB, free: 12.08 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.009325, allocations: 350.8 kB / 0.9874 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.00937, allocations: 19.97 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.009412, allocations: 27.91 kB / 0.9875 GB, free: 11.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.009499, allocations: 48.81 kB / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009501, allocations: 0 / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001385/0.00964, allocations: 101.4 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.009653, allocations: 8 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009658, allocations: 0 / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.009671, allocations: 0 / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.009728, allocations: 15.98 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.009732, allocations: 0 / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.00977, allocations: 7.953 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.009776, allocations: 3.984 kB / 0.9877 GB, free: 11.49 MB / 0.948 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.0001067/0.009883, allocations: 177.7 kB / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.009912, allocations: 27.81 kB / 0.9878 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.01008, allocations: 116.2 kB / 0.988 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01008, allocations: 4 kB / 0.988 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01009, allocations: 4 kB / 0.988 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.01009, allocations: 0 / 0.988 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.01026, allocations: 220.6 kB / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01026, allocations: 0 / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.01029, allocations: 15.98 kB / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01029, allocations: 0 / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.0103, allocations: 0 / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.0103, allocations: 0 / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.0103, allocations: 0 / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.01045, allocations: 203.2 kB / 0.9884 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.01049, allocations: 39.8 kB / 0.9884 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.01051, allocations: 0 / 0.9884 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.01056, allocations: 7.984 kB / 0.9884 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.01059, allocations: 3.938 kB / 0.9884 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.0106, allocations: 4 kB / 0.9884 GB, free: 10.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002898/0.01089, allocations: 399.1 kB / 0.9888 GB, free: 10.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01089, allocations: 0 / 0.9888 GB, free: 10.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001856/0.01107, allocations: 23.94 kB / 0.9888 GB, free: 10.2 MB / 0.948 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.0008961/0.01197, allocations: 1.011 MB / 0.9898 GB, free: 9.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.01211, allocations: 51.89 kB / 0.9899 GB, free: 9.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01211, allocations: 4 kB / 0.9899 GB, free: 9.266 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.01215, allocations: 15.98 kB / 0.9899 GB, free: 9.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.01255, allocations: 46.5 kB / 0.9899 GB, free: 9.207 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.01486, allocations: 2.665 MB / 0.9925 GB, free: 6.457 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.01497, allocations: 165.8 kB / 0.9927 GB, free: 6.273 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.29e-05/0.01504, allocations: 45.92 kB / 0.9927 GB, free: 6.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.905e-05/0.01514, allocations: 96.47 kB / 0.9928 GB, free: 6.137 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.01514, allocations: 0 / 0.9928 GB, free: 6.137 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.03673, allocations: 6.025 MB / 0.9987 GB, free: 196 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/6.776, allocations: 13.38 kB / 0.9987 GB, free: 184 kB / 0.948 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.135238295421004]