Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.673/1.673, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009643, allocations: 179.5 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.952/1.952, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008285/0.0008286, allocations: 98.83 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 8 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5346, allocations: 121.3 MB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.001769/0.5365, allocations: 1.541 MB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.5376, allocations: 1.041 MB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.5377, allocations: 7.844 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.5378, allocations: 18.84 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.5381, allocations: 94.69 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.5384, allocations: 143.9 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.5386, allocations: 226.7 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.5388, allocations: 31.27 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.5389, allocations: 96.75 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0513/0.5902, allocations: 2.721 MB / 1.047 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.5903, allocations: 7.625 kB / 1.047 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.5904, allocations: 22.66 kB / 1.047 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.5905, allocations: 34.88 kB / 1.047 GB, free: 55.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.5906, allocations: 111 kB / 1.047 GB, free: 54.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.5909, allocations: 208.1 kB / 1.047 GB, free: 54.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5909, allocations: 3.344 kB / 1.047 GB, free: 54.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5909, allocations: 0 / 1.047 GB, free: 54.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.5909, allocations: 0.6562 kB / 1.047 GB, free: 54.87 MB / 0.698 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.0006654/0.5916, allocations: 0.5117 MB / 1.048 GB, free: 54.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5916, allocations: 8.625 kB / 1.048 GB, free: 54.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.5917, allocations: 24.47 kB / 1.048 GB, free: 54.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.592, allocations: 247.7 kB / 1.048 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.592, allocations: 11.88 kB / 1.048 GB, free: 54.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.592, allocations: 24.09 kB / 1.048 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.5922, allocations: 104.1 kB / 1.048 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.5922, allocations: 3.281 kB / 1.048 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.5923, allocations: 11.34 kB / 1.048 GB, free: 54.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5923, allocations: 0 / 1.048 GB, free: 54.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.5924, allocations: 59.91 kB / 1.048 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.5931, allocations: 0.4906 MB / 1.048 GB, free: 53.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.5934, allocations: 103.7 kB / 1.049 GB, free: 53.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.5934, allocations: 34.91 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.5935, allocations: 4.281 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.5936, allocations: 113.4 kB / 1.049 GB, free: 53.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.5936, allocations: 0 / 1.049 GB, free: 53.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.000287/0.5939, allocations: 171.5 kB / 1.049 GB, free: 53.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.594, allocations: 59.47 kB / 1.049 GB, free: 53.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.5941, allocations: 199.2 kB / 1.049 GB, free: 53.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.5942, allocations: 32.55 kB / 1.049 GB, free: 53.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.5942, allocations: 123.1 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.5943, allocations: 44.47 kB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.5943, allocations: 11.25 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.5943, allocations: 333.8 kB / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5945, allocations: 63.03 kB / 1.05 GB, free: 52.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.5947, allocations: 126.1 kB / 1.05 GB, free: 52.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.5949, allocations: 211.3 kB / 1.05 GB, free: 52.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5949, allocations: 3.938 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00048/0.5954, allocations: 336.7 kB / 1.05 GB, free: 52.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.5955, allocations: 60.94 kB / 1.05 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5955, allocations: 7.406 kB / 1.05 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5955, allocations: 5.906 kB / 1.05 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.5956, allocations: 19.62 kB / 1.05 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5956, allocations: 3.688 kB / 1.05 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.5958, allocations: 28.38 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.5958, allocations: 13.06 kB / 1.05 GB, free: 52.23 MB / 0.698 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,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 9.864e-05/0.5959, allocations: 159.5 kB / 1.051 GB, free: 52.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.596, allocations: 21.41 kB / 1.051 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.5962, allocations: 140.6 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5962, allocations: 2.688 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5962, allocations: 0 / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5962, allocations: 0.5625 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.5967, allocations: 0.4901 MB / 1.051 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5967, allocations: 1.812 kB / 1.051 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.5968, allocations: 7.578 kB / 1.051 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5968, allocations: 0 / 1.051 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5968, allocations: 5.438 kB / 1.051 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5968, allocations: 5.156 kB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5968, allocations: 0.8906 kB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.597, allocations: 236.6 kB / 1.052 GB, free: 51.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.597, allocations: 99.7 kB / 1.052 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.5971, allocations: 3.328 kB / 1.052 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5972, allocations: 9.172 kB / 1.052 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.5973, allocations: 16.69 kB / 1.052 GB, free: 51.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.5973, allocations: 8.906 kB / 1.052 GB, free: 51.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.324e-05/0.5974, allocations: 146.3 kB / 1.052 GB, free: 51.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5974, allocations: 4 kB / 1.052 GB, free: 51.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003005/0.5977, allocations: 49.83 kB / 1.052 GB, free: 51.23 MB / 0.698 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.000326/0.598, allocations: 188 kB / 1.052 GB, free: 51.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.5984, allocations: 243.4 kB / 1.052 GB, free: 50.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5984, allocations: 5.781 kB / 1.052 GB, free: 50.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.5985, allocations: 52.89 kB / 1.052 GB, free: 50.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.5988, allocations: 69.03 kB / 1.052 GB, free: 50.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.5994, allocations: 365.7 kB / 1.053 GB, free: 50.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.5995, allocations: 0.723 MB / 1.053 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.334e-05/0.5996, allocations: 25.72 kB / 1.053 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.5996, allocations: 28.12 kB / 1.053 GB, free: 49.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.5996, allocations: 0 / 1.053 GB, free: 49.95 MB / 0.698 GB Notification: Performance of Templates: time 0.006723/0.6064, allocations: 3.344 MB / 1.057 GB, free: 49.66 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)