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.008352/0.008352, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.0019/0.0019, allocations: 190.5 kB / 16.67 MB, free: 5.973 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.634/2.634, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.91 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8429/0.8448, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003475/0.8483, allocations: 1.776 MB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.8497, allocations: 0.6234 MB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.8497, allocations: 3.938 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.85, allocations: 39.7 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.8504, allocations: 115.5 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.8508, allocations: 164.5 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.8512, allocations: 235.5 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.8513, allocations: 37.66 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.8515, allocations: 111.7 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008207/0.8597, allocations: 1.057 MB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.8598, allocations: 16 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.8599, allocations: 36 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.86, allocations: 51.81 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.8601, allocations: 87.52 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.8605, allocations: 225.7 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.8606, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8606, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8606, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 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.0009218/0.8615, allocations: 0.5565 MB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.8616, allocations: 12.86 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.8616, allocations: 38.75 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.8617, allocations: 28.78 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.8621, allocations: 249.8 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.8622, allocations: 8.375 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.8622, allocations: 19.94 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.8625, allocations: 116.4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8625, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.8625, allocations: 4 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.8625, allocations: 7.984 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.8626, allocations: 55.97 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.8636, allocations: 492.3 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.8639, allocations: 102.7 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.864, allocations: 40.84 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.864, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.8642, allocations: 111.3 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.8642, allocations: 3.938 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003791/0.8646, allocations: 171.2 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.8647, allocations: 63.39 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.8649, allocations: 207.7 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.865, allocations: 33.7 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.8651, allocations: 128.5 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.8651, allocations: 35.69 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8653, allocations: 73.81 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.8654, allocations: 326.8 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.8656, allocations: 67.81 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.8659, allocations: 123.7 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.8662, allocations: 214.5 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8662, allocations: 0 / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006371/0.8669, allocations: 346 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.867, allocations: 81.34 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.867, allocations: 0 / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.867, allocations: 4 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.8671, allocations: 15.94 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8671, allocations: 4 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.8673, allocations: 27.88 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.8674, allocations: 15.97 kB / 1.174 GB, free: 11.42 MB / 0.9044 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.0001448/0.8675, allocations: 144 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.8676, allocations: 23.84 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.8678, allocations: 143.5 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.8678, allocations: 4 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.8679, allocations: 0 / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8679, allocations: 0 / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.8685, allocations: 496.1 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8685, allocations: 0 / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.8686, allocations: 8 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8686, allocations: 4 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.8686, allocations: 7.938 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8686, allocations: 7.922 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8686, allocations: 0 / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.8689, allocations: 235.3 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.869, allocations: 101 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.8691, allocations: 4 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.8692, allocations: 11.98 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.8693, allocations: 19.98 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.8693, allocations: 7.984 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001841/0.8695, allocations: 144.2 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8695, allocations: 0 / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003375/0.8698, allocations: 47.89 kB / 1.176 GB, free: 9.934 MB / 0.9044 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.0008837/0.8707, allocations: 0.8464 MB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.8712, allocations: 250.6 kB / 1.177 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8712, allocations: 0 / 1.177 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.8713, allocations: 55.89 kB / 1.177 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.8718, allocations: 62.12 kB / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.8749, allocations: 2.265 MB / 1.179 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.8754, allocations: 0.7242 MB / 1.18 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.8755, allocations: 25.94 kB / 1.18 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.8756, allocations: 59.41 kB / 1.18 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.8756, allocations: 3.938 kB / 1.18 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.9045, allocations: 5.488 MB / 1.185 GB, free: 108 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.239, allocations: 11.94 kB / 1.185 GB, free: 96 kB / 0.9044 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