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.007302/0.007302, allocations: 101.1 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.00173/0.00173, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.329/2.329, allocations: 390.3 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.72 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2867, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003622/0.2904, allocations: 1.773 MB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2918, allocations: 0.6274 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.292, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.2922, allocations: 35.66 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.2927, allocations: 111.5 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.2932, allocations: 167.2 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.2936, allocations: 243.4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.2938, allocations: 41.66 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2939, allocations: 99.67 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006259/0.3002, allocations: 1.05 MB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.3003, allocations: 16 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3004, allocations: 43.98 kB / 1.092 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.3005, allocations: 39.78 kB / 1.092 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3006, allocations: 99.48 kB / 1.092 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.301, allocations: 220.1 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.301, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3011, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.3011, allocations: 4 kB / 1.092 GB, free: 13.73 MB / 0.8575 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.0008081/0.3019, allocations: 0.5605 MB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3019, allocations: 8.031 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.302, allocations: 42.73 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.3021, allocations: 28.69 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.3024, allocations: 251.8 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3025, allocations: 16.36 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.3025, allocations: 23.94 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3027, allocations: 101.6 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3027, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3028, allocations: 8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3028, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3029, allocations: 59.83 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/0.3039, allocations: 496.2 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.3042, allocations: 110.7 kB / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.3042, allocations: 32.84 kB / 1.094 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.3043, allocations: 4 kB / 1.094 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.3044, allocations: 107.4 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/0.3044, allocations: 0 / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.000385/0.3048, allocations: 177.3 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3049, allocations: 55.41 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3051, allocations: 203.7 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.3052, allocations: 33.7 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3053, allocations: 132.4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3053, allocations: 35.55 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3054, allocations: 61.67 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3056, allocations: 334.8 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3058, allocations: 59.95 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.306, allocations: 125.3 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.3064, allocations: 217.3 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3064, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006503/0.307, allocations: 336 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.3071, allocations: 67.33 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3071, allocations: 4 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3071, allocations: 0 / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.3072, allocations: 23.92 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3073, allocations: 4 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3075, allocations: 23.83 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.3075, allocations: 19.97 kB / 1.095 GB, free: 9.703 MB / 0.8575 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.0001598/0.3077, allocations: 148.2 kB / 1.096 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.3077, allocations: 27.66 kB / 1.096 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.308, allocations: 154.5 kB / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.308, allocations: 0 / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.308, allocations: 3.938 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.308, allocations: 0 / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.3087, allocations: 490 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3087, allocations: 0 / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.3087, allocations: 11.98 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3087, allocations: 0 / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3087, allocations: 8 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3088, allocations: 4 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3088, allocations: 0 / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.309, allocations: 235.2 kB / 1.097 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.3091, allocations: 108.8 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3092, allocations: 4 kB / 1.097 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3093, allocations: 11.98 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.3093, allocations: 15.98 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3094, allocations: 8 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001289/0.3095, allocations: 153.5 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3095, allocations: 0 / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003245/0.3098, allocations: 43.91 kB / 1.097 GB, free: 8.203 MB / 0.8575 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.000735/0.3106, allocations: 0.849 MB / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.311, allocations: 253.4 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.311, allocations: 0 / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.365e-05/0.3111, allocations: 55.91 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.3116, allocations: 53.77 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.3145, allocations: 2.248 MB / 1.1 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3148, allocations: 0.7319 MB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.3149, allocations: 33.86 kB / 1.101 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.315, allocations: 63.41 kB / 1.101 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.315, allocations: 0 / 1.101 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.3379, allocations: 5.486 MB / 1.106 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.995, allocations: 10.44 kB / 1.106 GB, free: 14.37 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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