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.001118/0.001118, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001162/0.001162, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.528/2.528, allocations: 437 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 69.36 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.314, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003379/0.3175, allocations: 1.77 MB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3188, allocations: 0.6273 MB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3189, allocations: 4 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3192, allocations: 31.72 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.3197, allocations: 115.4 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3201, allocations: 160.9 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.3205, allocations: 247.4 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.3206, allocations: 33.67 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3208, allocations: 103.7 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006233/0.327, allocations: 1.05 MB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.3271, allocations: 20 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3272, allocations: 36 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.3273, allocations: 43.83 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3275, allocations: 99.44 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.3278, allocations: 211.4 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3278, allocations: 4 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3278, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3279, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 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.0008172/0.3287, allocations: 0.5604 MB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3287, allocations: 8.031 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.3288, allocations: 24.66 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3292, allocations: 253.6 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3292, allocations: 8.375 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3293, allocations: 20.12 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3295, allocations: 112.1 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3295, allocations: 0 / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3295, allocations: 4 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3296, allocations: 4 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.3297, allocations: 63.91 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.3307, allocations: 492.1 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3309, allocations: 110.7 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.331, allocations: 32.84 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.331, allocations: 7.938 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.3312, allocations: 110 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.3312, allocations: 4 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0003564/0.3316, allocations: 173.4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3316, allocations: 55.41 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3318, allocations: 200.7 kB / 1.025 GB, free: 3.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.3319, allocations: 37.7 kB / 1.025 GB, free: 3.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.332, allocations: 120.5 kB / 1.025 GB, free: 3.816 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.332, allocations: 43.44 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3321, allocations: 61.67 kB / 1.025 GB, free: 3.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3322, allocations: 334.8 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3324, allocations: 63.95 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.3327, allocations: 127.6 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.333, allocations: 217.3 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.333, allocations: 4 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006035/0.3336, allocations: 328.6 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.3336, allocations: 63.55 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3337, allocations: 7.938 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3337, allocations: 4 kB / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.3338, allocations: 15.98 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3338, allocations: 7.938 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.334, allocations: 27.83 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.334, allocations: 8 kB / 1.026 GB, free: 2.422 MB / 0.795 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.0001319/0.3342, allocations: 144.1 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3342, allocations: 19.72 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.3345, allocations: 155.3 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3345, allocations: 4 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3345, allocations: 0 / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3345, allocations: 3.984 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.3351, allocations: 488.5 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3351, allocations: 0 / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.3351, allocations: 8 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.3351, allocations: 7.984 kB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3352, allocations: 8 kB / 1.027 GB, free: 1.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3352, allocations: 4 kB / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3352, allocations: 0 / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3354, allocations: 239.1 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.3355, allocations: 104.8 kB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.3355, allocations: 7.984 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3356, allocations: 8 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.3357, allocations: 19.97 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3358, allocations: 11.94 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001237/0.3359, allocations: 144.5 kB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3359, allocations: 0 / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003297/0.3362, allocations: 55.89 kB / 1.027 GB, free: 0.9219 MB / 0.795 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.0003454/0.3366, allocations: 163.5 kB / 1.027 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.337, allocations: 262.8 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.337, allocations: 4.062 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3371, allocations: 51.91 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.3376, allocations: 71.91 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.3383, allocations: 337.2 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3386, allocations: 0.732 MB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.3387, allocations: 23.42 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.3387, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.005934/0.3446, allocations: 3.272 MB / 1.032 GB, free: 11.98 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches