Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_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.005145/0.005145, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001408/0.001408, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.62/2.62, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 68.11 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2716, allocations: 162.3 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002665/0.2743, allocations: 1.652 MB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00087/0.2752, allocations: 0.5225 MB / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.2753, allocations: 0 / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.2758, allocations: 176.9 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.2761, allocations: 165.2 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.2765, allocations: 198.2 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.2768, allocations: 207.5 kB / 1.245 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2769, allocations: 41.52 kB / 1.245 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.277, allocations: 79.72 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2772, allocations: 159.6 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.2773, allocations: 12 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-05/0.2774, allocations: 43.92 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.745e-05/0.2775, allocations: 83.75 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.2776, allocations: 99.28 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.2779, allocations: 262.8 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2779, allocations: 3.938 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2779, allocations: 0 / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2779, allocations: 0 / 1.245 GB, free: 6.184 MB / 0.9981 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.0007486/0.2787, allocations: 0.599 MB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2787, allocations: 8.031 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.2788, allocations: 34.75 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.2788, allocations: 36.75 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.2793, allocations: 366.7 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-06/0.2793, allocations: 4.375 kB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2793, allocations: 4.375 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2795, allocations: 77.48 kB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2795, allocations: 0 / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2795, allocations: 7.984 kB / 1.247 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2795, allocations: 4 kB / 1.247 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2797, allocations: 55.89 kB / 1.247 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.2802, allocations: 428.5 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.2804, allocations: 50.55 kB / 1.247 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.2805, allocations: 24.91 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2805, allocations: 4 kB / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2805, allocations: 38.59 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.2805, allocations: 0 / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/0.2809, allocations: 117.4 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.2809, allocations: 55.41 kB / 1.247 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.2815, allocations: 0.5093 MB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.2815, allocations: 33.7 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.2816, allocations: 160.1 kB / 1.248 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.2816, allocations: 15.83 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2817, allocations: 17.72 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2818, allocations: 338.8 kB / 1.248 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.2819, allocations: 19.98 kB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.282, allocations: 19.97 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2821, allocations: 48.77 kB / 1.248 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2822, allocations: 0 / 1.248 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002154/0.2824, allocations: 97.75 kB / 1.248 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2824, allocations: 8 kB / 1.248 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2824, allocations: 4.031 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2824, allocations: 3.984 kB / 1.248 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.2825, allocations: 12 kB / 1.248 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2825, allocations: 0 / 1.248 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.2826, allocations: 11.92 kB / 1.248 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.2826, allocations: 0 / 1.248 GB, free: 2.777 MB / 0.9981 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.0001366/0.2827, allocations: 165.8 kB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.2828, allocations: 35.75 kB / 1.249 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.2831, allocations: 108.1 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2831, allocations: 4 kB / 1.249 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2831, allocations: 0 / 1.249 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2831, allocations: 3.938 kB / 1.249 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.2834, allocations: 265.5 kB / 1.249 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2834, allocations: 0 / 1.249 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.2834, allocations: 15.94 kB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2834, allocations: 3.938 kB / 1.249 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2834, allocations: 4 kB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2834, allocations: 3.984 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2835, allocations: 0 / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.2837, allocations: 207.2 kB / 1.249 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.2838, allocations: 105 kB / 1.249 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.2838, allocations: 3.984 kB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.2839, allocations: 4 kB / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.284, allocations: 11.92 kB / 1.249 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.284, allocations: 0 / 1.249 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003823/0.2844, allocations: 391.1 kB / 1.25 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2844, allocations: 0 / 1.25 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002371/0.2846, allocations: 27.89 kB / 1.25 GB, free: 1.344 MB / 0.9981 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.001546/0.2862, allocations: 0.9654 MB / 1.251 GB, free: 492 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2864, allocations: 43.94 kB / 1.251 GB, free: 448 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2864, allocations: 4 kB / 1.251 GB, free: 444 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.2865, allocations: 19.98 kB / 1.251 GB, free: 424 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2869, allocations: 50.72 kB / 1.251 GB, free: 376 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4333/0.7202, allocations: 2.591 MB / 1.253 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.7204, allocations: 0.7721 MB / 1.254 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.698e-05/0.7205, allocations: 36.03 kB / 1.254 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.7206, allocations: 85.86 kB / 1.254 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.7206, allocations: 0 / 1.254 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.074/3.794, allocations: 5.026 MB / 1.259 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.991/12.79, allocations: 12.39 kB / 1.259 GB, free: 12.22 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches