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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009389/0.0009389, allocations: 91.06 kB / 15.36 MB, free: 0.7344 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.00796/0.00796, allocations: 172.5 kB / 16.26 MB, free: 6.68 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.485/2.485, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 10.75 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2613, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002049/0.2634, allocations: 1.593 MB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2647, allocations: 0.6549 MB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2648, allocations: 3.938 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.265, allocations: 19.86 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.2653, allocations: 95.66 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2657, allocations: 147.8 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.266, allocations: 231.4 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2661, allocations: 33.66 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2662, allocations: 91.62 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03988/0.3061, allocations: 2.661 MB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.3062, allocations: 12 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3063, allocations: 20 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.3064, allocations: 35.84 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3066, allocations: 109.2 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.3069, allocations: 203.3 kB / 1.065 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3069, allocations: 0 / 1.065 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3069, allocations: 0 / 1.065 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.3069, allocations: 4 kB / 1.065 GB, free: 15.61 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.0007119/0.3076, allocations: 0.5138 MB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3077, allocations: 11.97 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.117e-05/0.3077, allocations: 42.73 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.3078, allocations: 24.66 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.3081, allocations: 256 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3081, allocations: 8.375 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3082, allocations: 23.92 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3084, allocations: 107.1 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3084, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3084, allocations: 4 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3084, allocations: 4 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3085, allocations: 59.91 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.3093, allocations: 496.2 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.3096, allocations: 118.6 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.3097, allocations: 32.84 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3097, allocations: 4 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.3098, allocations: 115.2 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3099, allocations: 4 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003053/0.3102, allocations: 176.8 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3102, allocations: 55.41 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3104, allocations: 211.6 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3105, allocations: 29.7 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.3105, allocations: 124.5 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.3106, allocations: 35.55 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.3106, allocations: 29.7 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3107, allocations: 338.8 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3109, allocations: 59.95 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3111, allocations: 134.5 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3114, allocations: 221.3 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3114, allocations: 0 / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005423/0.312, allocations: 327.7 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.312, allocations: 67.33 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.312, allocations: 8.156 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.3121, allocations: 3.938 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.3121, allocations: 23.98 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3122, allocations: 7.938 kB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3124, allocations: 23.83 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3124, allocations: 12 kB / 1.068 GB, free: 11.64 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.0001255/0.3125, allocations: 144 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3126, allocations: 23.75 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3128, allocations: 151.4 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3128, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3128, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3128, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.3134, allocations: 498.2 kB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3134, allocations: 0 / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.3134, allocations: 7.984 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3134, allocations: 4 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3135, allocations: 0 / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3135, allocations: 0 / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3135, allocations: 0 / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3137, allocations: 250.4 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.3138, allocations: 112.8 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3138, allocations: 8 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3139, allocations: 11.98 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.314, allocations: 11.98 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.314, allocations: 15.98 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001107/0.3141, allocations: 145.5 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3141, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003009/0.3144, allocations: 48 kB / 1.069 GB, free: 10.13 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.0007651/0.3152, allocations: 0.8468 MB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.3156, allocations: 243.2 kB / 1.071 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3156, allocations: 0 / 1.071 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.3157, allocations: 59.84 kB / 1.071 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3161, allocations: 57.73 kB / 1.071 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.3186, allocations: 2.288 MB / 1.073 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3188, allocations: 0.7245 MB / 1.074 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.097e-05/0.3189, allocations: 38 kB / 1.074 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.319, allocations: 59.41 kB / 1.074 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.319, allocations: 0 / 1.074 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5853/0.9044, allocations: 4.998 MB / 1.079 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003945/0.9048, allocations: 256.3 kB / 1.079 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.794, allocations: 0 / 1.079 GB, free: 0.5352 MB / 0.8262 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=50 --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