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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001203/0.001203, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001327/0.001327, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.9 MB / 0.7344 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 60.42 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3434, allocations: 157.4 MB / 1.052 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003867/0.3473, allocations: 1.945 MB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3487, allocations: 0.6548 MB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3489, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.3491, allocations: 23.78 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.3496, allocations: 99.67 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.3501, allocations: 146.8 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3504, allocations: 243.3 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3506, allocations: 37.67 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3508, allocations: 111.6 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.3644, allocations: 1.057 MB / 1.057 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.3645, allocations: 16 kB / 1.057 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.3646, allocations: 36 kB / 1.057 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.3647, allocations: 47.78 kB / 1.057 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3649, allocations: 95.48 kB / 1.057 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.3653, allocations: 215.3 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3653, allocations: 3.984 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3653, allocations: 0 / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.3653, allocations: 0 / 1.057 GB, free: 4.246 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.0008886/0.3662, allocations: 0.5526 MB / 1.058 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3663, allocations: 12.62 kB / 1.058 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.3663, allocations: 46.73 kB / 1.058 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.3664, allocations: 20.75 kB / 1.058 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3668, allocations: 244.1 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3668, allocations: 8.375 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.3668, allocations: 19.94 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.3671, allocations: 105.6 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3671, allocations: 4 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.3671, allocations: 11.98 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3671, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3672, allocations: 55.97 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009167/0.3682, allocations: 0.4923 MB / 1.059 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.3685, allocations: 102.7 kB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/0.3685, allocations: 48.77 kB / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3686, allocations: 0 / 1.059 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.3687, allocations: 107.3 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.3687, allocations: 0 / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003666/0.3691, allocations: 172.1 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3692, allocations: 55.41 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3694, allocations: 215.6 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.3694, allocations: 37.69 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.3695, allocations: 120.5 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.3696, allocations: 43.44 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.3697, allocations: 61.69 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3698, allocations: 330.8 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.37, allocations: 63.95 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.3702, allocations: 130.5 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.3705, allocations: 213.3 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3705, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005913/0.3711, allocations: 332.6 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.3712, allocations: 67.33 kB / 1.061 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3712, allocations: 4 kB / 1.061 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3712, allocations: 4 kB / 1.061 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.3713, allocations: 19.92 kB / 1.061 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3713, allocations: 4 kB / 1.061 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3715, allocations: 23.83 kB / 1.061 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3716, allocations: 19.98 kB / 1.061 GB, free: 232 kB / 0.8106 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.0001429/0.3717, allocations: 148.1 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.3718, allocations: 23.66 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.372, allocations: 143.6 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3721, allocations: 0 / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3721, allocations: 0 / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3721, allocations: 8.031 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.3727, allocations: 492.4 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3727, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.3727, allocations: 19.86 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.3728, allocations: 4 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3728, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3728, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3728, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.373, allocations: 235.3 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.3731, allocations: 104.8 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3732, allocations: 8 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3733, allocations: 11.98 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.3734, allocations: 11.98 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.3734, allocations: 12 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001248/0.3735, allocations: 149.5 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3735, allocations: 0 / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003354/0.3739, allocations: 43.91 kB / 1.062 GB, free: 14.74 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.0007506/0.3746, allocations: 0.8421 MB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.3751, allocations: 258.5 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3751, allocations: 0 / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.3752, allocations: 55.91 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3756, allocations: 57.56 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3785, allocations: 2.292 MB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3788, allocations: 0.7359 MB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.82e-05/0.3789, allocations: 29.94 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.637e-05/0.379, allocations: 59.41 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.379, allocations: 0 / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.922/2.301, allocations: 5.263 MB / 1.071 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/2.301, allocations: 259.9 kB / 1.072 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/4.685, allocations: 0 / 1.072 GB, free: 4.863 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