Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001365, 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.001395/0.001395, allocations: 190.5 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.943/2.943, allocations: 469.8 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.69 kB / 0.908 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3516, allocations: 159.2 MB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00412/0.3558, allocations: 1.941 MB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3572, allocations: 0.6509 MB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.3573, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3575, allocations: 23.8 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.3579, allocations: 103.6 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.3582, allocations: 149 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.3586, allocations: 239.4 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3587, allocations: 41.66 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.3589, allocations: 111.5 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01616/0.3751, allocations: 1.038 MB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.3752, allocations: 16 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.3753, allocations: 43.98 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.3754, allocations: 47.77 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3756, allocations: 91.5 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.376, allocations: 219.3 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.376, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.784e-06/0.376, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.376, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 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.0009875/0.377, allocations: 0.5604 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3771, allocations: 12.03 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.3772, allocations: 24.73 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.3775, allocations: 240.1 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3776, allocations: 12.38 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.3776, allocations: 24.11 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3779, allocations: 105.6 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3779, allocations: 4 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.3779, allocations: 4 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3779, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3781, allocations: 55.97 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.379, allocations: 496.1 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3793, allocations: 108.5 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.3794, allocations: 40.84 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3794, allocations: 3.938 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.3796, allocations: 111.3 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.596e-06/0.3796, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003751/0.38, allocations: 171.3 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.3801, allocations: 59.41 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3803, allocations: 207.6 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.3804, allocations: 33.7 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3805, allocations: 124.5 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.3806, allocations: 51.39 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3807, allocations: 61.67 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3809, allocations: 334.8 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.381, allocations: 59.95 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3813, allocations: 134.5 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.3816, allocations: 213.3 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3817, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006713/0.3823, allocations: 331.6 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.3824, allocations: 63.39 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3824, allocations: 11.92 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3825, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.3826, allocations: 27.92 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3826, allocations: 4 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3828, allocations: 23.83 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.3828, allocations: 12 kB / 1.072 GB, free: 6.23 MB / 0.8262 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.000187/0.383, allocations: 148.2 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.383, allocations: 23.72 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.3833, allocations: 147.4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3833, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3833, allocations: 3.984 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3834, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/0.384, allocations: 496.4 kB / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.384, allocations: 0 / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.3841, allocations: 7.984 kB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3841, allocations: 7.938 kB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3841, allocations: 0 / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3841, allocations: 0 / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3841, allocations: 3.938 kB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.3844, allocations: 239.2 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3846, allocations: 108.8 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3846, allocations: 3.984 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3847, allocations: 8 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.3848, allocations: 15.97 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.3848, allocations: 12 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001433/0.385, allocations: 141.5 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.385, allocations: 0 / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003398/0.3853, allocations: 51.89 kB / 1.073 GB, free: 4.738 MB / 0.8262 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.0003945/0.3857, allocations: 175.4 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.3862, allocations: 262.5 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3862, allocations: 0 / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3863, allocations: 51.92 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.3868, allocations: 68.97 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.3875, allocations: 367.8 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3879, allocations: 0.7318 MB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.163e-05/0.388, allocations: 33.92 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3881, allocations: 27.42 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3881, allocations: 0 / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.008836/0.397, allocations: 3.467 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches