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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005935/0.005935, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001301/0.001302, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 68.11 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3143, allocations: 162.3 MB / 1.242 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003046/0.3174, allocations: 1.771 MB / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3186, allocations: 0.6236 MB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.3187, allocations: 7.938 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.3189, allocations: 27.72 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.3193, allocations: 119.5 kB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.3196, allocations: 159.3 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.32, allocations: 251.3 kB / 1.245 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3201, allocations: 41.64 kB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3202, allocations: 107.7 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007554/0.3278, allocations: 1.051 MB / 1.246 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.3279, allocations: 16 kB / 1.246 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.328, allocations: 40 kB / 1.246 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.328, allocations: 43.84 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3282, allocations: 95.48 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.3285, allocations: 223.1 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3285, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3285, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3285, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 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.0007885/0.3293, allocations: 0.5564 MB / 1.247 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3294, allocations: 8.031 kB / 1.247 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.3294, allocations: 46.73 kB / 1.247 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.3295, allocations: 24.8 kB / 1.247 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.3298, allocations: 253.4 kB / 1.247 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3298, allocations: 12.36 kB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.3299, allocations: 19.94 kB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3301, allocations: 108.1 kB / 1.247 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3301, allocations: 3.938 kB / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3301, allocations: 4 kB / 1.247 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3301, allocations: 8 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3303, allocations: 55.97 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.3311, allocations: 488.3 kB / 1.248 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3314, allocations: 106.7 kB / 1.248 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.3315, allocations: 48.83 kB / 1.248 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3315, allocations: 0 / 1.248 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.3316, allocations: 103.3 kB / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3317, allocations: 0 / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003399/0.332, allocations: 183.8 kB / 1.248 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3321, allocations: 55.41 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3323, allocations: 203.8 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.3323, allocations: 33.7 kB / 1.248 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3324, allocations: 132.4 kB / 1.249 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3325, allocations: 43.67 kB / 1.249 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3326, allocations: 61.69 kB / 1.249 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3327, allocations: 330.8 kB / 1.249 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.3329, allocations: 63.89 kB / 1.249 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3331, allocations: 135.6 kB / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.3334, allocations: 209.3 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3335, allocations: 0 / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006132/0.3341, allocations: 331.4 kB / 1.25 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/0.3342, allocations: 71.33 kB / 1.25 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3342, allocations: 0 / 1.25 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3342, allocations: 4.156 kB / 1.25 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.3343, allocations: 31.92 kB / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3343, allocations: 4 kB / 1.25 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.3345, allocations: 27.83 kB / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3345, allocations: 15.98 kB / 1.25 GB, free: 1.531 MB / 0.9981 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.0001323/0.3347, allocations: 140 kB / 1.25 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3347, allocations: 19.84 kB / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3349, allocations: 147.4 kB / 1.25 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.335, allocations: 4 kB / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.335, allocations: 4 kB / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.335, allocations: 0 / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.3356, allocations: 489 kB / 1.251 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3356, allocations: 0 / 1.251 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.3356, allocations: 15.92 kB / 1.251 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3356, allocations: 0 / 1.251 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3357, allocations: 0 / 1.251 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3357, allocations: 0 / 1.251 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3357, allocations: 4 kB / 1.251 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3359, allocations: 247.2 kB / 1.251 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.336, allocations: 105 kB / 1.251 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3361, allocations: 4 kB / 1.251 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3362, allocations: 11.98 kB / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.3362, allocations: 11.98 kB / 1.251 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3363, allocations: 8 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001326/0.3364, allocations: 149.5 kB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3364, allocations: 0 / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003037/0.3367, allocations: 51.89 kB / 1.251 GB, free: 44 kB / 0.9981 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.575/0.9117, allocations: 0.8346 MB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.9122, allocations: 255 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9122, allocations: 1.531 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.9123, allocations: 52.22 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.9128, allocations: 65.22 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.9151, allocations: 2.26 MB / 1.255 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.9153, allocations: 0.7266 MB / 1.255 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.444e-05/0.9153, allocations: 31.5 kB / 1.255 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.9154, allocations: 58.28 kB / 1.255 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.9154, allocations: 0 / 1.255 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4548/1.37, allocations: 5.504 MB / 1.261 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.524/9.894, allocations: 8.922 kB / 1.261 GB, free: 11.29 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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