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.001568/0.001568, allocations: 102.7 kB / 15.99 MB, free: 5.891 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.001592/0.001592, allocations: 192.7 kB / 16.91 MB, free: 5.746 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 4.523 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.852/2.852, allocations: 469.8 MB / 0.7427 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 69.64 kB / 0.9087 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3361, allocations: 159.2 MB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003465/0.3396, allocations: 1.931 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3409, allocations: 0.6587 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.341, allocations: 3.938 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.3413, allocations: 19.86 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.3416, allocations: 99.66 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.342, allocations: 149.4 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.3423, allocations: 247.4 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3425, allocations: 29.67 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3426, allocations: 111.6 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01613/0.3587, allocations: 1.053 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.721e-05/0.3589, allocations: 16 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.359, allocations: 36 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.622e-05/0.3591, allocations: 43.84 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.3593, allocations: 99.48 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3595, allocations: 147.7 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3596, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3596, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3596, allocations: 4 kB / 1.069 GB, free: 10.24 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.0008941/0.3605, allocations: 0.5565 MB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3605, allocations: 12.02 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.3606, allocations: 20.75 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.361, allocations: 244.1 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.361, allocations: 12.38 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.361, allocations: 28.11 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3613, allocations: 101.6 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3613, allocations: 0 / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3613, allocations: 7.984 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3613, allocations: 4 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3615, allocations: 59.91 kB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.3623, allocations: 488.2 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.3626, allocations: 114.7 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.3627, allocations: 36.78 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3627, allocations: 8 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.3629, allocations: 107.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.363, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003639/0.3633, allocations: 171.6 kB / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.3634, allocations: 63.38 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.3636, allocations: 211.6 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.3637, allocations: 29.7 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3638, allocations: 124.5 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3638, allocations: 51.39 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3639, allocations: 57.67 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3641, allocations: 326.8 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3643, allocations: 63.95 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.3645, allocations: 134 kB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.3648, allocations: 213.3 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3648, allocations: 4.031 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000631/0.3655, allocations: 335.6 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.3656, allocations: 67.33 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3656, allocations: 7.938 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3656, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.3657, allocations: 16 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3657, allocations: 3.984 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3659, allocations: 28 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.3659, allocations: 15.92 kB / 1.072 GB, free: 6.266 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.0001486/0.3661, allocations: 140.1 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.3661, allocations: 23.75 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3664, allocations: 159.3 kB / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3664, allocations: 4 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3664, allocations: 0 / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3664, allocations: 0 / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.3671, allocations: 494.1 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3671, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.3671, allocations: 8 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3671, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3672, allocations: 7.984 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3672, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3672, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3674, allocations: 245.5 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3675, allocations: 104.8 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.3676, allocations: 4 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3677, allocations: 7.984 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.3678, allocations: 23.86 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3678, allocations: 11.98 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001339/0.3679, allocations: 145.5 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3679, allocations: 0 / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003136/0.3683, allocations: 47.91 kB / 1.074 GB, free: 4.77 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.0004082/0.3687, allocations: 165.7 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.3692, allocations: 266.5 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3692, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.3693, allocations: 55.91 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3697, allocations: 60.33 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007306/0.3704, allocations: 401.5 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3708, allocations: 0.7318 MB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3709, allocations: 23.42 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3709, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.005872/0.3768, allocations: 3.261 MB / 1.078 GB, free: 15.78 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches