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.001877/0.001877, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002805/0.002805, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.616/1.616, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.454/3.454, allocations: 0.49 GB / 0.7916 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 71.8 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4731, allocations: 176.1 MB / 1.321 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003737/0.4768, allocations: 1.711 MB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.4783, allocations: 0.6548 MB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.4785, allocations: 3.938 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.4792, allocations: 189.2 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007041/0.4799, allocations: 200.9 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.4805, allocations: 191 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.481, allocations: 215.4 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.4812, allocations: 33.88 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.4814, allocations: 87.61 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.4817, allocations: 171.6 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.4818, allocations: 16 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.4819, allocations: 47.98 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.482, allocations: 79.69 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.4822, allocations: 107.2 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.4828, allocations: 278.7 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4828, allocations: 4 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4828, allocations: 3.938 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4828, allocations: 0 / 1.325 GB, free: 15.44 MB / 1.029 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.001182/0.484, allocations: 0.6067 MB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.484, allocations: 15.98 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.4841, allocations: 30.75 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.234e-05/0.4842, allocations: 32.75 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/0.4848, allocations: 382.6 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4848, allocations: 8.312 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.4849, allocations: 384 / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.4851, allocations: 81.53 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4851, allocations: 0 / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4851, allocations: 0 / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4851, allocations: 4 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.4854, allocations: 51.95 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.4861, allocations: 440.5 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4863, allocations: 42.56 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4864, allocations: 28.89 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.4864, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.4864, allocations: 34.56 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4864, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005193/0.487, allocations: 121.5 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.487, allocations: 55.41 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.4878, allocations: 0.5405 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4878, allocations: 25.7 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.488, allocations: 164.1 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.488, allocations: 15.89 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.488, allocations: 13.72 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.4883, allocations: 346.8 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4884, allocations: 23.98 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.4885, allocations: 15.97 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.4886, allocations: 44.83 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4886, allocations: 0 / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003019/0.4889, allocations: 101.4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.489, allocations: 8 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.489, allocations: 4 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.489, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4891, allocations: 15.92 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4891, allocations: 0 / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.4892, allocations: 15.86 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.4892, allocations: 0 / 1.328 GB, free: 11.98 MB / 1.029 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.0002116/0.4895, allocations: 165.8 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.4895, allocations: 40.09 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.4899, allocations: 120 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4899, allocations: 0 / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4899, allocations: 4 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4899, allocations: 3.938 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.4903, allocations: 265.5 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4903, allocations: 0 / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.4904, allocations: 11.98 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4904, allocations: 0 / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4904, allocations: 8 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4904, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4904, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.4908, allocations: 203.3 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4909, allocations: 112.8 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.4909, allocations: 0 / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4911, allocations: 15.98 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.4911, allocations: 7.938 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4911, allocations: 0 / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000541/0.4917, allocations: 399.1 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4917, allocations: 0 / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003117/0.492, allocations: 27.95 kB / 1.329 GB, free: 10.52 MB / 1.029 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.002149/0.4941, allocations: 0.9727 MB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.4944, allocations: 55.83 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4944, allocations: 0 / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4945, allocations: 19.98 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.4951, allocations: 53.61 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.4992, allocations: 2.653 MB / 1.333 GB, free: 6.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.4998, allocations: 0.783 MB / 1.334 GB, free: 5.988 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.4999, allocations: 37.92 kB / 1.334 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.5001, allocations: 91.41 kB / 1.334 GB, free: 5.859 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/0.5001, allocations: 4 kB / 1.334 GB, free: 5.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.5305, allocations: 5.226 MB / 1.339 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.078, allocations: 7.625 kB / 1.339 GB, free: 0.6758 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/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: 16.72281803493388]