Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_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.001601/0.001601, 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.001885/0.001885, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 65.69 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003471/0.3303, allocations: 1.785 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3316, allocations: 0.6275 MB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3317, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3319, allocations: 31.66 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.3324, allocations: 115.5 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.3328, allocations: 163.6 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.3331, allocations: 235.4 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3333, allocations: 37.67 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.3335, allocations: 107.7 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006229/0.3397, allocations: 1.038 MB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.3398, allocations: 20 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3399, allocations: 36 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.34, allocations: 39.83 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3401, allocations: 99.48 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.3405, allocations: 215.4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3405, allocations: 3.938 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3405, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3405, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 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.000798/0.3413, allocations: 0.5604 MB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3414, allocations: 8.031 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3414, allocations: 42.75 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.3415, allocations: 24.73 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.3419, allocations: 248.1 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3419, allocations: 12.38 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.3419, allocations: 15.94 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3421, allocations: 108.1 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3422, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3422, allocations: 8 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3422, allocations: 4 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3423, allocations: 63.89 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.3432, allocations: 488.2 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.3435, allocations: 113.5 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.3436, allocations: 32.89 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3436, allocations: 7.984 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3438, allocations: 107.3 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3438, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003491/0.3441, allocations: 175.3 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3442, allocations: 59.39 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.3444, allocations: 211.6 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.3444, allocations: 33.64 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.3445, allocations: 124.4 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.3446, allocations: 43.53 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3447, allocations: 61.67 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3448, allocations: 326.8 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.345, allocations: 63.95 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3452, allocations: 131.5 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.3456, allocations: 213.3 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3456, allocations: 4 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006134/0.3462, allocations: 332.6 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.3463, allocations: 67.33 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3463, allocations: 3.984 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3463, allocations: 4 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.3464, allocations: 12 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3464, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.3466, allocations: 35.67 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3467, allocations: 11.98 kB / 1.072 GB, free: 6.227 MB / 0.8262 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.0001315/0.3468, allocations: 152.2 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3468, allocations: 19.75 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.3471, allocations: 147.5 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3471, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3471, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3471, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.3477, allocations: 490.1 kB / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3477, allocations: 4 kB / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.3477, allocations: 12 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3478, allocations: 0 / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3478, allocations: 4 kB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3478, allocations: 7.984 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3478, allocations: 3.984 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.348, allocations: 238.2 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3481, allocations: 104.8 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.3481, allocations: 8 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3483, allocations: 7.984 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.3483, allocations: 15.98 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3484, allocations: 11.98 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001391/0.3485, allocations: 141.5 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3485, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003231/0.3488, allocations: 47.84 kB / 1.073 GB, free: 4.734 MB / 0.8262 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.0007631/0.3496, allocations: 0.8475 MB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.3501, allocations: 254.5 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3501, allocations: 4 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.3502, allocations: 55.91 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3506, allocations: 57.31 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3535, allocations: 2.254 MB / 1.076 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3538, allocations: 0.7242 MB / 1.077 GB, free: 380 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.941e-05/0.3539, allocations: 33.92 kB / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.354, allocations: 55.42 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.354, allocations: 0 / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.378, allocations: 5.426 MB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.918, allocations: 11.02 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches