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.001678/0.001678, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001813/0.001813, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.545/2.545, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003016/0.003016, allocations: 71.36 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3605, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003646/0.3642, allocations: 1.767 MB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3655, allocations: 0.6273 MB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3656, allocations: 0 / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3658, allocations: 31.73 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.3662, allocations: 123.4 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.3666, allocations: 156.9 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.3669, allocations: 243.4 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3671, allocations: 37.58 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3672, allocations: 107.7 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008012/0.3752, allocations: 1.053 MB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.3753, allocations: 16 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3755, allocations: 35.98 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3756, allocations: 47.83 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.3758, allocations: 95.44 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.3762, allocations: 215.4 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3762, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3762, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3762, allocations: 0 / 1.022 GB, free: 6.344 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.0009301/0.3771, allocations: 0.5605 MB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3772, allocations: 8.625 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.3773, allocations: 28.59 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.3777, allocations: 248.1 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3777, allocations: 8.375 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3777, allocations: 20.12 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3779, allocations: 103.9 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.378, allocations: 3.984 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.378, allocations: 8 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.378, allocations: 4 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3781, allocations: 59.91 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.3791, allocations: 484.2 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.3794, allocations: 118.7 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.3795, allocations: 36.84 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.3795, allocations: 7.984 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.3797, allocations: 111.2 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.3797, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0003618/0.3801, allocations: 171.8 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3801, allocations: 55.41 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.3803, allocations: 208.7 kB / 1.025 GB, free: 3.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3804, allocations: 33.7 kB / 1.025 GB, free: 3.891 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3805, allocations: 116.5 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3806, allocations: 43.45 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3807, allocations: 65.66 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3808, allocations: 326.8 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.381, allocations: 67.94 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.3813, allocations: 133.6 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3816, allocations: 221 kB / 1.026 GB, free: 2.863 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3816, allocations: 0 / 1.026 GB, free: 2.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006206/0.3822, allocations: 332.6 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.3823, allocations: 63.39 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3823, allocations: 7.938 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3824, allocations: 0 / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.3825, allocations: 23.98 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3825, allocations: 3.938 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.3827, allocations: 23.84 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.3827, allocations: 15.98 kB / 1.026 GB, free: 2.371 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.0001579/0.3829, allocations: 144.2 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3829, allocations: 19.72 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3832, allocations: 155.3 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3832, allocations: 0 / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3832, allocations: 3.938 kB / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3832, allocations: 3.984 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.3839, allocations: 490.2 kB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3839, allocations: 4 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.384, allocations: 4 kB / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.384, allocations: 0 / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.384, allocations: 7.984 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.384, allocations: 0 / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.384, allocations: 48 / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.3843, allocations: 248.8 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.3844, allocations: 100.8 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.3844, allocations: 11.98 kB / 1.027 GB, free: 1.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3845, allocations: 4 kB / 1.027 GB, free: 1.102 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.3846, allocations: 19.97 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.3847, allocations: 8 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001605/0.3848, allocations: 148.5 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3848, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003299/0.3852, allocations: 51.89 kB / 1.027 GB, free: 0.8789 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.0004377/0.3856, allocations: 162.8 kB / 1.027 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004714/0.3861, allocations: 266.5 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3861, allocations: 3.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3862, allocations: 59.91 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.3867, allocations: 61.22 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.3875, allocations: 336.8 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3879, allocations: 0.7281 MB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.388, allocations: 31.42 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.388, allocations: 3.938 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of Templates: time 0.007407/0.3954, allocations: 3.282 MB / 1.032 GB, free: 11.92 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=400 -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