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.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001453/0.001453, allocations: 193 kB / 16.14 MB, free: 6.719 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.34 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3383, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004313/0.3427, allocations: 1.939 MB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3443, allocations: 0.6665 MB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.3446, allocations: 4 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.3448, allocations: 27.8 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.3453, allocations: 95.64 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.3458, allocations: 146.7 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.3462, allocations: 223.4 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3464, allocations: 37.66 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.3466, allocations: 103.6 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/0.3601, allocations: 0.9687 MB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.3602, allocations: 8 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3604, allocations: 24 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3605, allocations: 43.88 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.3607, allocations: 83.45 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.361, allocations: 211.3 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.361, allocations: 4 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3611, allocations: 4 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.3611, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 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.0009486/0.362, allocations: 0.5526 MB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3621, allocations: 15.95 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.022e-05/0.3622, allocations: 42.75 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3623, allocations: 20.75 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.3627, allocations: 244.1 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3627, allocations: 12.38 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.3627, allocations: 23.88 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.363, allocations: 108.2 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.363, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3631, allocations: 7.984 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3631, allocations: 4 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3632, allocations: 59.95 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.3642, allocations: 492.1 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.3645, allocations: 106.7 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.3646, allocations: 47.83 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3646, allocations: 0 / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.3648, allocations: 107.3 kB / 1.058 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3648, allocations: 0 / 1.058 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003855/0.3652, allocations: 175.5 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3653, allocations: 51.41 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3655, allocations: 219.6 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.3655, allocations: 37.64 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3656, allocations: 120.5 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3657, allocations: 39.45 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3658, allocations: 61.69 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3659, allocations: 330.8 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.3661, allocations: 59.95 kB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.3664, allocations: 131.7 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.3667, allocations: 221.2 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3667, allocations: 0 / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006481/0.3673, allocations: 324.6 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.3674, allocations: 73.52 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.3674, allocations: 0 / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3675, allocations: 4 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.3676, allocations: 23.92 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3676, allocations: 8.156 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.3678, allocations: 23.83 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3678, allocations: 15.98 kB / 1.06 GB, free: 15.82 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.0001516/0.368, allocations: 147.9 kB / 1.06 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.368, allocations: 27.64 kB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3683, allocations: 143.5 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3683, allocations: 4 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3683, allocations: 4.047 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3683, allocations: 3.984 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.3689, allocations: 494.1 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3689, allocations: 0 / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.369, allocations: 11.94 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.369, allocations: 0 / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.369, allocations: 0 / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.369, allocations: 0 / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.369, allocations: 8 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3693, allocations: 237.9 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.3694, allocations: 104.8 kB / 1.061 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3694, allocations: 4 kB / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3695, allocations: 11.98 kB / 1.061 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.3696, allocations: 11.98 kB / 1.061 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.3696, allocations: 7.984 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001279/0.3698, allocations: 153.5 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3698, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003364/0.3701, allocations: 51.91 kB / 1.062 GB, free: 14.32 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.0007921/0.3709, allocations: 0.8425 MB / 1.062 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.3714, allocations: 250.7 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3714, allocations: 4.125 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/0.3715, allocations: 55.91 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.372, allocations: 53.48 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.3749, allocations: 2.278 MB / 1.065 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.3752, allocations: 0.7247 MB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.3753, allocations: 29.88 kB / 1.066 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3754, allocations: 59.41 kB / 1.066 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3754, allocations: 4 kB / 1.066 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3918, allocations: 5.119 MB / 1.071 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.392, allocations: 256.5 kB / 1.071 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.357, allocations: 4 kB / 1.071 GB, free: 4.594 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