Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_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.008862/0.008862, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.002037/0.002037, allocations: 195.5 kB / 16.68 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.8389, allocations: 159.1 MB / 1.22 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003372/0.8423, allocations: 1.783 MB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.8437, allocations: 0.6171 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.8438, allocations: 7.938 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.8441, allocations: 31.7 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.8445, allocations: 115.5 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.8449, allocations: 163.7 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.8452, allocations: 235.4 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.8453, allocations: 33.67 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.8455, allocations: 111.7 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008316/0.8538, allocations: 1.049 MB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.002e-05/0.8539, allocations: 20 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.854, allocations: 39.94 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.8541, allocations: 43.83 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.8543, allocations: 95.5 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.8547, allocations: 225.3 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8547, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8547, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.8547, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 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.0008441/0.8556, allocations: 0.5603 MB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8556, allocations: 12.03 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.8557, allocations: 42.73 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.8557, allocations: 24.8 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.8561, allocations: 244.2 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.8561, allocations: 12.38 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.8562, allocations: 23.94 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.8564, allocations: 104.5 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8564, allocations: 0 / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.8564, allocations: 11.98 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8564, allocations: 3.938 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.8566, allocations: 63.77 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.8575, allocations: 492.3 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.8578, allocations: 114.7 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.8579, allocations: 32.84 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.8579, allocations: 4 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.8581, allocations: 115.2 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.8581, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003547/0.8585, allocations: 176.3 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.8585, allocations: 59.39 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.8587, allocations: 207.7 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.8588, allocations: 33.7 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.8589, allocations: 120.5 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.8589, allocations: 43.67 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.8591, allocations: 65.67 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.8592, allocations: 326.8 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.8594, allocations: 63.95 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.8597, allocations: 131.5 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.86, allocations: 218.2 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.86, allocations: 0 / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006469/0.8606, allocations: 341.3 kB / 1.228 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/0.8607, allocations: 67.33 kB / 1.228 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8607, allocations: 4 kB / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8608, allocations: 0 / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.8608, allocations: 16 kB / 1.228 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8609, allocations: 7.922 kB / 1.228 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.8611, allocations: 23.89 kB / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.8611, allocations: 11.98 kB / 1.228 GB, free: 9.738 MB / 0.9512 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.0001496/0.8613, allocations: 148.2 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.8613, allocations: 19.84 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.8616, allocations: 147.4 kB / 1.228 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.8616, allocations: 4 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8616, allocations: 3.938 kB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8616, allocations: 0 / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.8623, allocations: 494.1 kB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8623, allocations: 4 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.8623, allocations: 8 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8623, allocations: 0 / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.8624, allocations: 11.98 kB / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8624, allocations: 0 / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8624, allocations: 0 / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.8626, allocations: 245 kB / 1.229 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.8628, allocations: 104.9 kB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.8628, allocations: 4 kB / 1.229 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.8629, allocations: 11.98 kB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.863, allocations: 15.98 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.863, allocations: 11.98 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000143/0.8632, allocations: 149.5 kB / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8632, allocations: 0 / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003152/0.8635, allocations: 43.95 kB / 1.23 GB, free: 8.23 MB / 0.9512 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.0009133/0.8644, allocations: 0.8604 MB / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.8649, allocations: 242.7 kB / 1.231 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8649, allocations: 0 / 1.231 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.865, allocations: 51.91 kB / 1.231 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.8654, allocations: 58.03 kB / 1.231 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.8684, allocations: 2.283 MB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.8688, allocations: 0.7203 MB / 1.234 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.988e-05/0.8689, allocations: 33.86 kB / 1.234 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.869, allocations: 63.41 kB / 1.234 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.869, allocations: 4 kB / 1.234 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.8976, allocations: 5.47 MB / 1.239 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/9.301, allocations: 19.39 kB / 1.239 GB, free: 14.39 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches