Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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_latest_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_latest_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.0008612/0.0008613, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009823/0.0009824, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005147/0.000515, allocations: 8.719 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3406, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002536/0.3432, allocations: 1.585 MB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3447, allocations: 0.6588 MB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3448, allocations: 3.938 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.3451, allocations: 15.86 kB / 1.062 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.3455, allocations: 99.66 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.346, allocations: 154.5 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.3463, allocations: 231.4 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3465, allocations: 41.56 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.3467, allocations: 95.61 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03879/0.3855, allocations: 2.645 MB / 1.065 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.3856, allocations: 8 kB / 1.065 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3857, allocations: 24 kB / 1.065 GB, free: 100 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.3858, allocations: 39.83 kB / 1.065 GB, free: 60 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.386, allocations: 101.3 kB / 1.065 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.3863, allocations: 155.5 kB / 1.065 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3863, allocations: 0 / 1.065 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3863, allocations: 0 / 1.065 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3863, allocations: 0 / 1.065 GB, free: 15.8 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.0008014/0.3871, allocations: 0.5139 MB / 1.066 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3872, allocations: 11.97 kB / 1.066 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.3873, allocations: 24.66 kB / 1.066 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.3876, allocations: 252 kB / 1.066 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3877, allocations: 12.38 kB / 1.066 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.3877, allocations: 24.12 kB / 1.066 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3879, allocations: 103.5 kB / 1.066 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.388, allocations: 0 / 1.066 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.388, allocations: 4 kB / 1.066 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.388, allocations: 7.938 kB / 1.066 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3881, allocations: 59.91 kB / 1.066 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.3891, allocations: 0.4884 MB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.3894, allocations: 114.6 kB / 1.067 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.3894, allocations: 36.89 kB / 1.067 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3895, allocations: 7.984 kB / 1.067 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3896, allocations: 95.36 kB / 1.067 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.3896, allocations: 0 / 1.067 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003621/0.39, allocations: 185.2 kB / 1.067 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3901, allocations: 59.41 kB / 1.067 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.3905, allocations: 211.6 kB / 1.067 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.3906, allocations: 37.69 kB / 1.067 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.3907, allocations: 116.5 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3908, allocations: 39.55 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.3908, allocations: 29.7 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3909, allocations: 326.8 kB / 1.068 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3911, allocations: 63.95 kB / 1.068 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.3913, allocations: 133 kB / 1.068 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3916, allocations: 217.3 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3917, allocations: 0 / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005939/0.3923, allocations: 332.5 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.3923, allocations: 67.39 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3923, allocations: 7.938 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3924, allocations: 3.984 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.3925, allocations: 20.16 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3925, allocations: 0 / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.3927, allocations: 35.77 kB / 1.069 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3927, allocations: 11.98 kB / 1.069 GB, free: 11.88 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.0001439/0.3929, allocations: 140.1 kB / 1.069 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.3929, allocations: 19.8 kB / 1.069 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3932, allocations: 155.1 kB / 1.069 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3932, allocations: 8 kB / 1.069 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3932, allocations: 3.938 kB / 1.069 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3932, allocations: 3.938 kB / 1.069 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.3938, allocations: 498.1 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3939, allocations: 0 / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.3939, allocations: 8 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3939, allocations: 4.031 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3939, allocations: 8 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.3939, allocations: 3.984 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3939, allocations: 0 / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3942, allocations: 247 kB / 1.07 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.3943, allocations: 104.8 kB / 1.07 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3943, allocations: 4 kB / 1.07 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3945, allocations: 15.98 kB / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.3945, allocations: 19.97 kB / 1.07 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3946, allocations: 8 kB / 1.07 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001385/0.3947, allocations: 149.5 kB / 1.07 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3947, allocations: 0 / 1.07 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003337/0.3951, allocations: 43.98 kB / 1.07 GB, free: 10.36 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.0003752/0.3954, allocations: 157.6 kB / 1.07 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.3959, allocations: 258.5 kB / 1.07 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3959, allocations: 0 / 1.07 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.396, allocations: 55.91 kB / 1.07 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.3965, allocations: 59.97 kB / 1.07 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.3973, allocations: 404.5 kB / 1.071 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3977, allocations: 0.7284 MB / 1.071 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.3978, allocations: 23.44 kB / 1.072 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3978, allocations: 0 / 1.072 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.007514/0.4053, allocations: 3.239 MB / 1.075 GB, free: 5.402 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches