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.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001789/0.001789, allocations: 196.6 kB / 16.14 MB, free: 6.645 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.599/2.599, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.8685 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.768, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003352/0.7714, allocations: 1.921 MB / 1.018 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.7727, allocations: 0.6781 MB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.7728, allocations: 7.938 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.7731, allocations: 19.86 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.7734, allocations: 87.72 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.7738, allocations: 155.7 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.774, allocations: 227.4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.7742, allocations: 33.67 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.7743, allocations: 99.67 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0128/0.7871, allocations: 0.9701 MB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.783e-05/0.7872, allocations: 8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.7874, allocations: 31.98 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.7875, allocations: 39.83 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.7876, allocations: 83.52 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.788, allocations: 207.2 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.788, allocations: 8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.788, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.788, allocations: 0 / 1.021 GB, free: 14.36 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.0009262/0.7889, allocations: 0.5605 MB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.789, allocations: 8.031 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.7891, allocations: 28.66 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.7895, allocations: 252 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.7895, allocations: 16.36 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.7895, allocations: 16.12 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.7898, allocations: 105.6 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7898, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.7898, allocations: 7.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7898, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.7899, allocations: 59.91 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.7908, allocations: 488.2 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.7911, allocations: 118.7 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.7912, allocations: 36.84 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.7913, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.7914, allocations: 99.36 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.7914, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003718/0.7918, allocations: 184.9 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.7919, allocations: 55.41 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.7921, allocations: 204.8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.7921, allocations: 33.7 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.7922, allocations: 132.4 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.7923, allocations: 43.41 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.7924, allocations: 57.67 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7925, allocations: 330.8 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.7927, allocations: 63.95 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.7929, allocations: 136.8 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.7933, allocations: 209.3 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7933, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006065/0.7939, allocations: 320.6 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.7939, allocations: 67.39 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.794, allocations: 7.875 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.794, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.7941, allocations: 20.03 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7941, allocations: 8.156 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.7943, allocations: 27.81 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.7943, allocations: 15.98 kB / 1.025 GB, free: 10.38 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.0001398/0.7945, allocations: 144.5 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.7945, allocations: 19.72 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.7948, allocations: 155.3 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7948, allocations: 4 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7948, allocations: 0 / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7948, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.7954, allocations: 486.2 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7954, allocations: 0 / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.7955, allocations: 11.98 kB / 1.025 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7955, allocations: 0 / 1.025 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.7955, allocations: 3.938 kB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7955, allocations: 4 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7955, allocations: 4 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.7958, allocations: 250.4 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.7959, allocations: 104.9 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.7959, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.796, allocations: 7.984 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.7961, allocations: 19.92 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.7961, allocations: 4 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001308/0.7962, allocations: 156.5 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7963, allocations: 0 / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003406/0.7966, allocations: 51.84 kB / 1.026 GB, free: 8.887 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.0003951/0.797, allocations: 160.2 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.7974, allocations: 252.6 kB / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7974, allocations: 0 / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.7975, allocations: 55.91 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.798, allocations: 65.67 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.7987, allocations: 365.1 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.799, allocations: 0.7245 MB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.776e-05/0.7991, allocations: 29.94 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.7992, allocations: 27.42 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7992, allocations: 3.938 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.007476/0.8066, allocations: 3.375 MB / 1.031 GB, free: 3.824 MB / 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