Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_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.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 128 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.001971/0.001971, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.88 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.631, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002747/0.6338, allocations: 1.766 MB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.6349, allocations: 0.6191 MB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.635, allocations: 1.406 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.6352, allocations: 30.47 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.6355, allocations: 126.1 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.6359, allocations: 163.6 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.6361, allocations: 236 kB / 0.9526 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.6363, allocations: 47.39 kB / 0.9526 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.6364, allocations: 111.1 kB / 0.9527 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005739/0.6421, allocations: 1.036 MB / 0.9537 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.6422, allocations: 16.31 kB / 0.9537 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.6424, allocations: 39.92 kB / 0.9538 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.6425, allocations: 34.75 kB / 0.9538 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.6426, allocations: 97.72 kB / 0.9539 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.643, allocations: 229.2 kB / 0.9541 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.643, allocations: 3.938 kB / 0.9541 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.643, allocations: 1.312 kB / 0.9541 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.643, allocations: 0 / 0.9541 GB, free: 6.168 MB / 0.7169 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.0008496/0.6439, allocations: 0.5489 MB / 0.9547 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.6439, allocations: 13.69 kB / 0.9547 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.644, allocations: 42.36 kB / 0.9547 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.6441, allocations: 28.75 kB / 0.9548 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.6444, allocations: 248.8 kB / 0.955 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.6445, allocations: 8.75 kB / 0.955 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.6445, allocations: 24.8 kB / 0.955 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.6447, allocations: 120.8 kB / 0.9551 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6447, allocations: 0 / 0.9551 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6447, allocations: 4 kB / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6447, allocations: 1.062 kB / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.6449, allocations: 55.28 kB / 0.9552 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.6458, allocations: 486.4 kB / 0.9557 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.6461, allocations: 112.4 kB / 0.9558 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.6461, allocations: 34.41 kB / 0.9558 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.6462, allocations: 2.156 kB / 0.9558 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.6463, allocations: 113.8 kB / 0.9559 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.6463, allocations: 0 / 0.9559 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.000358/0.6467, allocations: 181.9 kB / 0.9561 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6467, allocations: 54.59 kB / 0.9561 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.6469, allocations: 207.1 kB / 0.9563 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.647, allocations: 31.11 kB / 0.9564 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.6471, allocations: 129.5 kB / 0.9565 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.6471, allocations: 41.52 kB / 0.9565 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.6472, allocations: 62.95 kB / 0.9566 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.6473, allocations: 336.2 kB / 0.9569 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.6475, allocations: 66.42 kB / 0.957 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.6477, allocations: 126 kB / 0.9571 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.648, allocations: 217.6 kB / 0.9573 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.648, allocations: 1.344 kB / 0.9573 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005566/0.6485, allocations: 328.3 kB / 0.9576 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.6486, allocations: 68.95 kB / 0.9577 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6486, allocations: 1.375 kB / 0.9577 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.6486, allocations: 6.906 kB / 0.9577 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.6487, allocations: 21.67 kB / 0.9577 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.6487, allocations: 2.75 kB / 0.9577 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.649, allocations: 30.77 kB / 0.9577 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.649, allocations: 9.625 kB / 0.9577 GB, free: 3.062 MB / 0.7169 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.0001178/0.6491, allocations: 143.1 kB / 0.9579 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.6492, allocations: 23.69 kB / 0.9579 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.6494, allocations: 152.2 kB / 0.9581 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6494, allocations: 2.281 kB / 0.9581 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6494, allocations: 3.984 kB / 0.9581 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6494, allocations: 1.781 kB / 0.9581 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.65, allocations: 486.3 kB / 0.9585 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.65, allocations: 0 / 0.9585 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.65, allocations: 18.58 kB / 0.9585 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.65, allocations: 0 / 0.9585 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.6501, allocations: 9.625 kB / 0.9585 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6501, allocations: 0.7188 kB / 0.9586 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6501, allocations: 0.7812 kB / 0.9586 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.6503, allocations: 237.2 kB / 0.9588 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.6504, allocations: 100.7 kB / 0.9589 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.6504, allocations: 9.141 kB / 0.9589 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6505, allocations: 4.906 kB / 0.9589 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.6506, allocations: 22.61 kB / 0.9589 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.6506, allocations: 10.95 kB / 0.9589 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001111/0.6507, allocations: 145.4 kB / 0.9591 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6507, allocations: 0 / 0.9591 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000346/0.6511, allocations: 47.64 kB / 0.9591 GB, free: 1.938 MB / 0.7169 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.0006403/0.6517, allocations: 0.844 MB / 0.9599 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.6522, allocations: 257.9 kB / 0.9602 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6522, allocations: 0.9375 kB / 0.9602 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.6523, allocations: 54.3 kB / 0.9602 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.6527, allocations: 64.69 kB / 0.9603 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.6556, allocations: 2.25 MB / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.6559, allocations: 0.7282 MB / 0.9632 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.656, allocations: 25.31 kB / 0.9632 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.6561, allocations: 59.94 kB / 0.9633 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of SimCode: time 1.943e-06/0.6561, allocations: 1.062 kB / 0.9633 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.6824, allocations: 5.425 MB / 0.9686 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.274, allocations: 5.312 kB / 0.9686 GB, free: 11.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches