Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001662/0.001662, allocations: 108 kB / 15.6 MB, free: 132 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.001577/0.001577, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.638/2.638, allocations: 390.2 MB / 0.6646 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7669, allocations: 140.3 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003158/0.7701, allocations: 1.77 MB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.7713, allocations: 0.625 MB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.7714, allocations: 5.312 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.7716, allocations: 22.61 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.772, allocations: 122.5 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.7723, allocations: 167.6 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.7727, allocations: 234.6 kB / 0.9524 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.7728, allocations: 43.8 kB / 0.9525 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.773, allocations: 115.7 kB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005824/0.7788, allocations: 1.032 MB / 0.9536 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/0.7789, allocations: 21.59 kB / 0.9536 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.779, allocations: 36.19 kB / 0.9536 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.7791, allocations: 40.95 kB / 0.9537 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.7792, allocations: 93.88 kB / 0.9538 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.7796, allocations: 226.2 kB / 0.954 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7797, allocations: 0 / 0.954 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7797, allocations: 0 / 0.954 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.7797, allocations: 1.031 kB / 0.954 GB, free: 6.172 MB / 0.7169 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.0008407/0.7805, allocations: 0.5564 MB / 0.9545 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.7806, allocations: 9.875 kB / 0.9545 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.7807, allocations: 24.38 kB / 0.9546 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.781, allocations: 250.8 kB / 0.9548 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.781, allocations: 14.66 kB / 0.9548 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.7811, allocations: 19.97 kB / 0.9548 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.7813, allocations: 116.8 kB / 0.9549 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7813, allocations: 0 / 0.9549 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.7813, allocations: 5 kB / 0.955 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7814, allocations: 2.438 kB / 0.955 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.7815, allocations: 56.31 kB / 0.955 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.7823, allocations: 489.5 kB / 0.9555 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.7826, allocations: 117 kB / 0.9556 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.7827, allocations: 39.03 kB / 0.9556 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.7827, allocations: 1.531 kB / 0.9556 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.7828, allocations: 106.5 kB / 0.9557 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.7829, allocations: 0 / 0.9557 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003367/0.7832, allocations: 173.9 kB / 0.9559 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.7832, allocations: 66.09 kB / 0.956 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.7834, allocations: 203.3 kB / 0.9562 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.7834, allocations: 33.64 kB / 0.9562 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.7835, allocations: 130.9 kB / 0.9563 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.7836, allocations: 34.17 kB / 0.9563 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7837, allocations: 66.58 kB / 0.9564 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.7837, allocations: 335.6 kB / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.7839, allocations: 63.73 kB / 0.9568 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.7841, allocations: 129.6 kB / 0.9569 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.7844, allocations: 217.6 kB / 0.9571 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7844, allocations: 0 / 0.9571 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005671/0.785, allocations: 329.4 kB / 0.9574 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.7851, allocations: 68.39 kB / 0.9575 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7851, allocations: 8.969 kB / 0.9575 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7851, allocations: 3.312 kB / 0.9575 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.7852, allocations: 21.48 kB / 0.9575 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7852, allocations: 7.406 kB / 0.9575 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.7854, allocations: 26.58 kB / 0.9576 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.7854, allocations: 8.219 kB / 0.9576 GB, free: 3.105 MB / 0.7169 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.0001148/0.7856, allocations: 143.8 kB / 0.9577 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.7856, allocations: 16.06 kB / 0.9577 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.7858, allocations: 148.5 kB / 0.9579 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7859, allocations: 6.688 kB / 0.9579 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7859, allocations: 4 kB / 0.9579 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7859, allocations: 3.984 kB / 0.9579 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.7864, allocations: 494.3 kB / 0.9583 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7864, allocations: 0 / 0.9583 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.7864, allocations: 17.42 kB / 0.9584 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7864, allocations: 1.375 kB / 0.9584 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.7865, allocations: 5.375 kB / 0.9584 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7865, allocations: 0 / 0.9584 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7865, allocations: 5.375 kB / 0.9584 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.7867, allocations: 233.8 kB / 0.9586 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.7867, allocations: 100.6 kB / 0.9587 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.7868, allocations: 6.234 kB / 0.9587 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7869, allocations: 8.219 kB / 0.9587 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.787, allocations: 18.56 kB / 0.9587 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.787, allocations: 6.938 kB / 0.9587 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001095/0.7871, allocations: 145.1 kB / 0.9589 GB, free: 2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7871, allocations: 0 / 0.9589 GB, free: 2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003347/0.7875, allocations: 52.95 kB / 0.9589 GB, free: 1.984 MB / 0.7169 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.0003078/0.7878, allocations: 171.2 kB / 0.9591 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.7882, allocations: 250 kB / 0.9593 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7882, allocations: 0 / 0.9593 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.7883, allocations: 56.12 kB / 0.9594 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.7887, allocations: 69.58 kB / 0.9594 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.7894, allocations: 326.1 kB / 0.9598 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.7896, allocations: 0.7266 MB / 0.9605 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.566e-05/0.7897, allocations: 34.8 kB / 0.9605 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.7898, allocations: 27.89 kB / 0.9605 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of SimCode: time 9.21e-07/0.7898, allocations: 0 / 0.9605 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of Templates: time 0.009931/0.7997, allocations: 3.564 MB / 0.964 GB, free: 14.84 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches