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.001559/0.00156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001807/0.001807, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.644/2.644, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 0.8688 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6658, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003501/0.6693, allocations: 1.929 MB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.6706, allocations: 0.6664 MB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.6707, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.6709, allocations: 23.8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.6714, allocations: 103.6 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.6718, allocations: 147.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.672, allocations: 235.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.6722, allocations: 45.64 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.6724, allocations: 103.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/0.6851, allocations: 1.041 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.6852, allocations: 20 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.6853, allocations: 39.98 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.6854, allocations: 43.84 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.6855, allocations: 103.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.6858, allocations: 211.3 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6858, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6859, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6859, allocations: 7.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 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.0008024/0.6867, allocations: 0.5527 MB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6867, allocations: 8.031 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.6868, allocations: 46.72 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.89e-05/0.6869, allocations: 24.66 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.6872, allocations: 252 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.6872, allocations: 12.38 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.6872, allocations: 19.94 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.6875, allocations: 105.6 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6875, allocations: 3.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.6875, allocations: 8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6875, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.6876, allocations: 55.97 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.6885, allocations: 492.1 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.6887, allocations: 102.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.6888, allocations: 40.89 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.6888, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.689, allocations: 115.3 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.689, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003365/0.6893, allocations: 173.3 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.6894, allocations: 55.41 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.6896, allocations: 204.7 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.6896, allocations: 41.62 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.6897, allocations: 128.4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.6898, allocations: 39.44 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.6899, allocations: 65.69 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.69, allocations: 330.8 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.6901, allocations: 63.95 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.6904, allocations: 127.6 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.6906, allocations: 212.2 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6907, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005575/0.6912, allocations: 336.6 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.6913, allocations: 71.33 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6913, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6913, allocations: 4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.6914, allocations: 19.92 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6914, allocations: 4 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.6916, allocations: 27.83 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.6916, allocations: 11.98 kB / 1.025 GB, free: 10.22 MB / 0.7794 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.0001259/0.6918, allocations: 148.7 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.6918, allocations: 19.75 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.692, allocations: 158.9 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6921, allocations: 4 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6921, allocations: 0 / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6921, allocations: 0 / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.6926, allocations: 486.2 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6926, allocations: 4 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.6927, allocations: 11.98 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6927, allocations: 0 / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6927, allocations: 4 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6927, allocations: 0 / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6927, allocations: 4 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.6929, allocations: 239.1 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.693, allocations: 104.8 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.693, allocations: 8 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.6931, allocations: 11.98 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.6932, allocations: 15.98 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.6932, allocations: 4 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001118/0.6933, allocations: 152.5 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6933, allocations: 0 / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003052/0.6936, allocations: 47.84 kB / 1.026 GB, free: 8.73 MB / 0.7794 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.0006681/0.6943, allocations: 0.8475 MB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.6947, allocations: 254.6 kB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6947, allocations: 0 / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.6948, allocations: 55.91 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.6952, allocations: 71.22 kB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.6977, allocations: 2.288 MB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.698, allocations: 0.7242 MB / 1.031 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.232e-05/0.6981, allocations: 37.92 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.6982, allocations: 59.41 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6982, allocations: 0 / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.372/2.071, allocations: 5.253 MB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/2.071, allocations: 253.1 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/4.431, allocations: 3.938 kB / 1.036 GB, free: 14.85 MB / 0.795 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