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.001892/0.001892, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002146/0.002146, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.677/1.677, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.127/3.127, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_Table",fmuType="cs",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.002725/0.002725, allocations: 63.91 kB / 1.149 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418/1.42, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003353/1.424, allocations: 1.711 MB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0011/1.425, allocations: 0.6522 MB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/1.425, allocations: 6.75 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005767/1.426, allocations: 179.6 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/1.426, allocations: 211.8 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/1.426, allocations: 188.9 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/1.427, allocations: 215 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/1.427, allocations: 31.8 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/1.427, allocations: 91.94 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/1.427, allocations: 170 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/1.427, allocations: 17.36 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/1.427, allocations: 45.47 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/1.427, allocations: 83.19 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/1.428, allocations: 97.59 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/1.428, allocations: 283.2 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.428, allocations: 0 / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.774e-06/1.428, allocations: 0 / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.428, allocations: 0 / 1.325 GB, free: 22.47 MB / 1.061 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.0008064/1.429, allocations: 0.6205 MB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.429, allocations: 12.52 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.971e-05/1.429, allocations: 2.938 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/1.429, allocations: 34.75 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/1.429, allocations: 31.12 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/1.429, allocations: 388.8 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.429, allocations: 3.25 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.429, allocations: 10.5 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/1.43, allocations: 72.98 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.43, allocations: 0 / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.43, allocations: 2.812 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.43, allocations: 0 / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/1.43, allocations: 57.52 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/1.43, allocations: 428.7 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/1.43, allocations: 48.16 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.431, allocations: 27.88 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/1.431, allocations: 4.594 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/1.431, allocations: 31.59 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.431, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004596/1.431, allocations: 118.1 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.431, allocations: 52.28 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/1.432, allocations: 0.5394 MB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/1.432, allocations: 30.61 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.432, allocations: 167.5 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/1.432, allocations: 9.688 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/1.432, allocations: 16.38 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/1.432, allocations: 345.6 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/1.432, allocations: 21.36 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/1.432, allocations: 25.59 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/1.433, allocations: 48.8 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.433, allocations: 0.6875 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002575/1.433, allocations: 97.83 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.433, allocations: 9.859 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.433, allocations: 0.6562 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.433, allocations: 4 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/1.433, allocations: 10.94 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.433, allocations: 4.562 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/1.433, allocations: 4.531 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/1.433, allocations: 0.5938 kB / 1.328 GB, free: 20.11 MB / 1.061 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.0001603/1.433, allocations: 179.8 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/1.433, allocations: 32.86 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/1.434, allocations: 119 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.434, allocations: 0 / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.434, allocations: 4.969 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.434, allocations: 0 / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/1.434, allocations: 270.3 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.434, allocations: 0 / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/1.434, allocations: 7.438 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/1.434, allocations: 7.859 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.434, allocations: 0.5312 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.434, allocations: 1.344 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.434, allocations: 7.938 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/1.434, allocations: 199.7 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/1.434, allocations: 110.5 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/1.434, allocations: 1.531 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.435, allocations: 10.48 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/1.435, allocations: 13.06 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/1.435, allocations: 1.531 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005779/1.435, allocations: 396.8 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.435, allocations: 0 / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002894/1.435, allocations: 28 kB / 1.33 GB, free: 19.2 MB / 1.061 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.001799/1.437, allocations: 0.9861 MB / 1.331 GB, free: 18.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002729/1.438, allocations: 46.45 kB / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.438, allocations: 0 / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.757e-05/1.438, allocations: 19.81 kB / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/1.438, allocations: 54.86 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/1.442, allocations: 2.658 MB / 1.333 GB, free: 16.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/1.442, allocations: 0.7814 MB / 1.334 GB, free: 16.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001245/1.442, allocations: 33.22 kB / 1.334 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/1.442, allocations: 90.16 kB / 1.334 GB, free: 15.99 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/1.442, allocations: 0 / 1.334 GB, free: 15.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/1.47, allocations: 5.271 MB / 1.339 GB, free: 15.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.074/10.54, allocations: 7.125 kB / 1.339 GB, free: 15.12 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.939010612957645]