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.007957/0.007957, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001949/0.001949, allocations: 197 kB / 16.67 MB, free: 5.918 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7338, allocations: 140.4 MB / 1.087 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002777/0.7367, allocations: 1.781 MB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.7378, allocations: 0.617 MB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.7378, allocations: 4.906 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.738, allocations: 22.72 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.7384, allocations: 127.7 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.7388, allocations: 158.9 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.7391, allocations: 239 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.7392, allocations: 43.22 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.7394, allocations: 109.9 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005674/0.7451, allocations: 1.044 MB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.7451, allocations: 17.47 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.7452, allocations: 41.61 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.7453, allocations: 42.89 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.7454, allocations: 94.55 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.7458, allocations: 232.1 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7458, allocations: 0 / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7458, allocations: 0.6562 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.7458, allocations: 0 / 1.092 GB, free: 2.926 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.0008232/0.7466, allocations: 0.5443 MB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.7467, allocations: 10.42 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.7467, allocations: 49.19 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.7468, allocations: 33.52 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.7471, allocations: 250.2 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.7472, allocations: 15.8 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.7472, allocations: 17.14 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.7474, allocations: 108.5 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7474, allocations: 0 / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.7474, allocations: 6.5 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.7475, allocations: 2.812 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.7476, allocations: 60.3 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.7484, allocations: 489.3 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.7487, allocations: 115 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.7488, allocations: 44.14 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.7488, allocations: 0.8125 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.749, allocations: 102.7 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.749, allocations: 0 / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003479/0.7493, allocations: 177.1 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.7494, allocations: 55.31 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.7496, allocations: 207.7 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.7496, allocations: 38.66 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.7497, allocations: 127.2 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.7497, allocations: 40.86 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.7498, allocations: 58.41 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.7499, allocations: 330.1 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.7501, allocations: 67.06 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.7503, allocations: 134.4 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.7506, allocations: 213.9 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7506, allocations: 0.9375 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006101/0.7512, allocations: 325.4 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.7513, allocations: 69.27 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7513, allocations: 2.094 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.7513, allocations: 6.797 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.7514, allocations: 24.22 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.7514, allocations: 2.953 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.7516, allocations: 26.11 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.7516, allocations: 16.02 kB / 1.095 GB, free: 184 kB / 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.0001053/0.7518, allocations: 149.7 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.7518, allocations: 24.64 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.7521, allocations: 146 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7521, allocations: 1.922 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7521, allocations: 1.375 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7521, allocations: 0.5625 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.7528, allocations: 497.2 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7528, allocations: 0.7969 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.7529, allocations: 7.219 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.7529, allocations: 1.125 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.7529, allocations: 2.516 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.7529, allocations: 3.938 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7529, allocations: 1.391 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.7532, allocations: 243.5 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.7533, allocations: 101.8 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.7533, allocations: 1.984 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.7534, allocations: 7.922 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.7535, allocations: 16.73 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.7535, allocations: 8.641 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001461/0.7537, allocations: 145.8 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7537, allocations: 0 / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000352/0.754, allocations: 53.45 kB / 1.097 GB, free: 15.18 MB / 0.8731 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.0008019/0.7548, allocations: 0.8374 MB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000428/0.7553, allocations: 253.2 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7553, allocations: 9.156 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.993e-05/0.7554, allocations: 53.77 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.7559, allocations: 63.92 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.7588, allocations: 2.255 MB / 1.1 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.7592, allocations: 0.7306 MB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.7593, allocations: 26.19 kB / 1.101 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.7594, allocations: 59.83 kB / 1.101 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.7594, allocations: 0 / 1.101 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.7854, allocations: 5.574 MB / 1.106 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.68, allocations: 15.41 kB / 1.106 GB, free: 11.05 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