Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001071/0.001071, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008596/0.008596, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.564/1.564, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003689, allocations: 11.98 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.7295, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002275/0.7319, allocations: 1.579 MB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.7331, allocations: 0.6586 MB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.7332, allocations: 4 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.7334, allocations: 23.84 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.7337, allocations: 99.59 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.7341, allocations: 151.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.7343, allocations: 227.4 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.7345, allocations: 33.67 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.7346, allocations: 91.67 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03773/0.7723, allocations: 2.646 MB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.7724, allocations: 11.94 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.7726, allocations: 35.97 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.7727, allocations: 27.91 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.7728, allocations: 113.1 kB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.7731, allocations: 207.2 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7731, allocations: 4 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7731, allocations: 0 / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7731, allocations: 0 / 1.029 GB, free: 10.7 MB / 0.7794 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.0007517/0.7739, allocations: 0.5099 MB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7739, allocations: 16.02 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.774, allocations: 24.73 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.7743, allocations: 252 kB / 1.03 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.7744, allocations: 12.38 kB / 1.03 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.7744, allocations: 28.06 kB / 1.03 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.7746, allocations: 101.6 kB / 1.03 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.7746, allocations: 0 / 1.03 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.7746, allocations: 7.984 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.7747, allocations: 0 / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.7748, allocations: 59.91 kB / 1.03 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.7756, allocations: 0.4962 MB / 1.03 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.7759, allocations: 102.7 kB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.7759, allocations: 40.84 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.776, allocations: 3.984 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.7761, allocations: 107.3 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.7761, allocations: 0 / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003205/0.7765, allocations: 177.2 kB / 1.031 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7765, allocations: 55.39 kB / 1.031 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.7767, allocations: 200.8 kB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.7767, allocations: 33.7 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.7768, allocations: 128.3 kB / 1.031 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.7769, allocations: 35.55 kB / 1.031 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.7769, allocations: 33.7 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.777, allocations: 330.8 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.7772, allocations: 67.94 kB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.7774, allocations: 129.4 kB / 1.032 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.7777, allocations: 205.3 kB / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7777, allocations: 0 / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005333/0.7782, allocations: 347.7 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.7783, allocations: 71.55 kB / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7783, allocations: 7.875 kB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.7783, allocations: 4 kB / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.7784, allocations: 15.98 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.7784, allocations: 7.938 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.7786, allocations: 23.84 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.7787, allocations: 15.98 kB / 1.032 GB, free: 6.781 MB / 0.7794 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.0001253/0.7788, allocations: 148.6 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.7788, allocations: 19.81 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.7791, allocations: 154.3 kB / 1.033 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7791, allocations: 0 / 1.033 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7791, allocations: 4 kB / 1.033 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.7791, allocations: 3.984 kB / 1.033 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.7796, allocations: 494.2 kB / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7797, allocations: 0 / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.7797, allocations: 8 kB / 1.033 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7797, allocations: 0 / 1.033 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.7797, allocations: 7.984 kB / 1.033 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7797, allocations: 4 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7797, allocations: 0 / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.78, allocations: 239.1 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.7801, allocations: 112.8 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.7801, allocations: 4 kB / 1.033 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7802, allocations: 11.98 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.7803, allocations: 15.98 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.7803, allocations: 8 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001156/0.7804, allocations: 152.5 kB / 1.034 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7804, allocations: 0 / 1.034 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005098/0.7809, allocations: 40 kB / 1.034 GB, free: 5.289 MB / 0.7794 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.0003485/0.7813, allocations: 183.7 kB / 1.034 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.7817, allocations: 250.6 kB / 1.034 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7817, allocations: 0 / 1.034 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.7818, allocations: 51.92 kB / 1.034 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.7822, allocations: 58.17 kB / 1.034 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.7829, allocations: 382.7 kB / 1.035 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.7832, allocations: 0.7245 MB / 1.035 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.027e-05/0.7832, allocations: 25.94 kB / 1.035 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.7833, allocations: 23.42 kB / 1.035 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7833, allocations: 0 / 1.035 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of Templates: time 0.007198/0.7905, allocations: 3.349 MB / 1.039 GB, free: 236 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches