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.001494/0.001494, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.595/2.595, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 64.14 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.657, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004444/0.6615, allocations: 1.767 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.6627, allocations: 0.6311 MB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.6628, allocations: 7.938 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.6631, allocations: 27.73 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.6635, allocations: 119.4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.6639, allocations: 155.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.6643, allocations: 235.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.6644, allocations: 49.59 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.6646, allocations: 107.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006003/0.6706, allocations: 1.031 MB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.6707, allocations: 16 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.6708, allocations: 39.97 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.6709, allocations: 47.78 kB / 1.022 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.671, allocations: 99.5 kB / 1.022 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.6714, allocations: 215.3 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6714, allocations: 0 / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6714, allocations: 0 / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.6714, allocations: 0 / 1.022 GB, free: 14.22 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.0008345/0.6723, allocations: 0.5565 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6723, allocations: 15.97 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.6724, allocations: 42.73 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.6725, allocations: 28.66 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.6728, allocations: 244 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.6728, allocations: 12.38 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.6729, allocations: 19.94 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.6731, allocations: 105.6 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6731, allocations: 0 / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.6731, allocations: 8 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6731, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.6733, allocations: 63.97 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.6742, allocations: 496.1 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.6745, allocations: 114.7 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.6746, allocations: 36.84 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.6746, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.6747, allocations: 105.9 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.6748, allocations: 4 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003509/0.6751, allocations: 177.3 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.6752, allocations: 55.41 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.6754, allocations: 204.8 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.6754, allocations: 33.7 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.6755, allocations: 128.4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.6755, allocations: 39.45 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.6756, allocations: 61.67 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6757, allocations: 338.8 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.6759, allocations: 63.95 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.6761, allocations: 128.7 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.6764, allocations: 222 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6765, allocations: 0 / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005725/0.677, allocations: 320.6 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/0.6771, allocations: 75.48 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6771, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6771, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.6772, allocations: 19.92 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6772, allocations: 7.984 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.6775, allocations: 23.83 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.6775, allocations: 16 kB / 1.025 GB, free: 10.18 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.0001291/0.6777, allocations: 140 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.6777, allocations: 19.75 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.6779, allocations: 163.2 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.678, allocations: 0 / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.678, allocations: 4 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.678, allocations: 3.984 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.6785, allocations: 480.5 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6785, allocations: 0 / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.6786, allocations: 15.97 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.6786, allocations: 11.98 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.6786, allocations: 0 / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6786, allocations: 0 / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6786, allocations: 0 / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.6789, allocations: 235.2 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.6789, allocations: 100.9 kB / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.679, allocations: 11.98 kB / 1.027 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6791, allocations: 12 kB / 1.027 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.6792, allocations: 19.91 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.6792, allocations: 8 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001168/0.6793, allocations: 148.5 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6793, allocations: 0 / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003144/0.6796, allocations: 55.83 kB / 1.027 GB, free: 8.688 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.0006819/0.6803, allocations: 0.8351 MB / 1.028 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.6807, allocations: 258.6 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6808, allocations: 0 / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.6808, allocations: 51.92 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.6813, allocations: 65.67 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.684, allocations: 2.248 MB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.6842, allocations: 0.7242 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.495e-05/0.6843, allocations: 29.92 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.6844, allocations: 63.41 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of SimCode: time 7.31e-07/0.6844, allocations: 4 kB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.7072, allocations: 5.42 MB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.946, allocations: 0.9844 kB / 1.036 GB, free: 14.92 MB / 0.795 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