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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 99.62 kB / 15.73 MB, free: 6.445 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.002032/0.002032, allocations: 191.2 kB / 16.67 MB, free: 6.348 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.684/2.684, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4023, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003752/0.4061, allocations: 1.776 MB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.4075, allocations: 0.6312 MB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.4077, allocations: 7.938 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.4079, allocations: 27.66 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.4085, allocations: 123.4 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.409, allocations: 159.7 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.4093, allocations: 231.5 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4095, allocations: 41.66 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.4097, allocations: 111.6 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006395/0.4161, allocations: 1.055 MB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.4162, allocations: 16 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.4163, allocations: 39.98 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.4164, allocations: 47.83 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.4165, allocations: 95.48 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.417, allocations: 219.1 kB / 1.171 GB, free: 3.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.417, allocations: 0 / 1.171 GB, free: 3.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.154e-06/0.417, allocations: 0 / 1.171 GB, free: 3.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.417, allocations: 0 / 1.171 GB, free: 3.043 MB / 0.92 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.0009543/0.418, allocations: 0.5719 MB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4181, allocations: 8.031 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.4181, allocations: 42.73 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.4182, allocations: 24.8 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.4186, allocations: 248.2 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4186, allocations: 12.38 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.4187, allocations: 19.94 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.4189, allocations: 103.5 kB / 1.172 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.419, allocations: 8 kB / 1.172 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.419, allocations: 3.984 kB / 1.172 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.419, allocations: 4 kB / 1.172 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.4191, allocations: 59.91 kB / 1.172 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.4202, allocations: 480.5 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.4205, allocations: 110.6 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.4206, allocations: 40.84 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.4206, allocations: 3.984 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4208, allocations: 107.3 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.083e-06/0.4208, allocations: 4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003902/0.4212, allocations: 172.3 kB / 1.173 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.4212, allocations: 67.33 kB / 1.173 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.4215, allocations: 203.8 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.4215, allocations: 33.7 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.4216, allocations: 124.5 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.4217, allocations: 35.69 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4218, allocations: 69.86 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4219, allocations: 330.8 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4221, allocations: 67.75 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.4223, allocations: 132.4 kB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.4226, allocations: 213.3 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4227, allocations: 0 / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006121/0.4233, allocations: 332.5 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.4233, allocations: 73.52 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4234, allocations: 11.98 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4234, allocations: 7.938 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.4235, allocations: 12 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4235, allocations: 4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4237, allocations: 23.88 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.4237, allocations: 15.98 kB / 1.174 GB, free: 15 MB / 0.9356 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.0001468/0.4239, allocations: 148 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.4239, allocations: 23.84 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.4242, allocations: 147.5 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4242, allocations: 0 / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4243, allocations: 4 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4243, allocations: 4 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.4249, allocations: 498.1 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4249, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.425, allocations: 4 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.425, allocations: 4 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.425, allocations: 11.98 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.425, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.425, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.4253, allocations: 235.3 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.4254, allocations: 108.9 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.4254, allocations: 0 / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.4255, allocations: 11.98 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.4256, allocations: 15.98 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.4256, allocations: 15.98 kB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001296/0.4258, allocations: 144.2 kB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4258, allocations: 3.938 kB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003273/0.4261, allocations: 43.95 kB / 1.176 GB, free: 13.5 MB / 0.9356 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.0007077/0.4268, allocations: 0.8335 MB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.4272, allocations: 250.7 kB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4273, allocations: 0 / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.4274, allocations: 54.44 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.4278, allocations: 67.7 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.4306, allocations: 2.268 MB / 1.179 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.4309, allocations: 0.7281 MB / 1.18 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.212e-05/0.431, allocations: 29.92 kB / 1.18 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.4311, allocations: 59.41 kB / 1.18 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.4311, allocations: 0 / 1.18 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.4573, allocations: 5.493 MB / 1.185 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.457, allocations: 2.188 kB / 1.185 GB, free: 3.672 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/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