Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",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.008142/0.008142, allocations: 102.4 kB / 15.73 MB, free: 6.02 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.001625/0.001625, allocations: 189.9 kB / 16.67 MB, free: 5.957 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.421/1.421, 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 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2798, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003267/0.2831, allocations: 1.766 MB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2844, allocations: 0.6312 MB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.2846, allocations: 3.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.2848, allocations: 31.73 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.2852, allocations: 123.4 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2857, allocations: 151.2 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.286, allocations: 247.4 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2862, allocations: 37.67 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.2863, allocations: 111.6 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006706/0.2931, allocations: 1.056 MB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.2932, allocations: 20 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.2933, allocations: 35.98 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.2934, allocations: 43.83 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2935, allocations: 95.5 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.2939, allocations: 228 kB / 1.171 GB, free: 3.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2939, allocations: 0 / 1.171 GB, free: 3.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.294, allocations: 0 / 1.171 GB, free: 3.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.294, allocations: 0 / 1.171 GB, free: 3.027 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008925/0.2949, allocations: 0.5566 MB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2949, allocations: 12.03 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.295, allocations: 46.73 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.2951, allocations: 20.75 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.2954, allocations: 244 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2955, allocations: 16.36 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.2955, allocations: 15.94 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2957, allocations: 103.5 kB / 1.172 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2958, allocations: 4 kB / 1.172 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2958, allocations: 8 kB / 1.172 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2958, allocations: 3.938 kB / 1.172 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.2959, allocations: 59.91 kB / 1.172 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009156/0.2969, allocations: 480.3 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.2971, allocations: 118.7 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.2972, allocations: 36.84 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2973, allocations: 4 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.2975, allocations: 103.3 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 3.126e-06/0.2975, allocations: 4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003615/0.2979, allocations: 185.2 kB / 1.173 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2979, allocations: 55.41 kB / 1.173 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.2981, allocations: 203.8 kB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.2982, allocations: 33.7 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.2983, allocations: 124.4 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.2983, allocations: 35.56 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2984, allocations: 57.88 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2985, allocations: 334.8 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2987, allocations: 67.81 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.299, allocations: 132.4 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.2993, allocations: 217.3 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2993, allocations: 0 / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006414/0.3, allocations: 332.5 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.3, allocations: 67.33 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3001, allocations: 8.156 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3001, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.3002, allocations: 27.98 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3002, allocations: 3.938 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3004, allocations: 23.83 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3005, allocations: 12 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001471/0.3006, allocations: 148 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.3006, allocations: 19.75 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.3009, allocations: 158.4 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3009, allocations: 0 / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.301, allocations: 0 / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.301, allocations: 0 / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.3016, allocations: 490.1 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3016, allocations: 4 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.3017, allocations: 7.984 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3017, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3017, allocations: 4 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3017, allocations: 7.938 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3017, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.302, allocations: 243.1 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.3021, allocations: 104.8 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3021, allocations: 4 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3022, allocations: 7.984 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.3023, allocations: 15.98 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.3023, allocations: 12 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001333/0.3025, allocations: 148.2 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3025, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003456/0.3028, allocations: 48 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007439/0.3036, allocations: 0.8401 MB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.304, allocations: 258.3 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.304, allocations: 0 / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.3041, allocations: 51.92 kB / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3045, allocations: 66.52 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.3074, allocations: 2.25 MB / 1.179 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3077, allocations: 0.7281 MB / 1.18 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.183e-05/0.3078, allocations: 25.94 kB / 1.18 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3079, allocations: 59.41 kB / 1.18 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.3079, allocations: 0 / 1.18 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.3309, allocations: 5.494 MB / 1.185 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.223, allocations: 2.031 kB / 1.185 GB, free: 3.691 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches