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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008308/0.0008308, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000834/0.000834, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.067/3.067, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003832, allocations: 7.344 kB / 0.9021 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4188, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002623/0.4215, allocations: 1.539 MB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.423, allocations: 0.6394 MB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.4232, allocations: 8 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.4235, allocations: 19.8 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.424, allocations: 99.58 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.4246, allocations: 155.7 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.4249, allocations: 195.4 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.4251, allocations: 41.56 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.4254, allocations: 91.69 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/0.4295, allocations: 2.485 MB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.4296, allocations: 8 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.4298, allocations: 24 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.4299, allocations: 31.84 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.43, allocations: 53.62 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.4303, allocations: 155.6 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.4304, allocations: 8 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4304, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.4304, allocations: 0 / 1.063 GB, free: 15.8 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.001063/0.4315, allocations: 0.5059 MB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4315, allocations: 8.031 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.4316, allocations: 23.72 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.4321, allocations: 254.6 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4321, allocations: 12 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.4322, allocations: 19.94 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.4324, allocations: 101.6 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4324, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.4325, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4325, allocations: 4 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.4326, allocations: 59.97 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.4337, allocations: 0.4962 MB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.434, allocations: 102.6 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.4341, allocations: 36.89 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.4341, allocations: 11.94 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.4343, allocations: 103.4 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.787e-06/0.4343, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003942/0.4347, allocations: 175.7 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4348, allocations: 59.41 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.435, allocations: 203.7 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.435, allocations: 37.69 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4352, allocations: 128.3 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.4352, allocations: 35.55 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.4352, allocations: 8 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4354, allocations: 330.8 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.4356, allocations: 59.95 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.4359, allocations: 129.1 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.4361, allocations: 139.3 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4361, allocations: 0 / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007185/0.4369, allocations: 339.2 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/0.437, allocations: 63.39 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.437, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.437, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4371, allocations: 20.09 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4372, allocations: 7.984 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.4374, allocations: 27.84 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.4374, allocations: 15.98 kB / 1.067 GB, free: 12.04 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.4376, allocations: 144 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.4377, allocations: 27.67 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.438, allocations: 147.4 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.438, allocations: 4 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.438, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.438, allocations: 7.984 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.4388, allocations: 484.8 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4388, allocations: 11.88 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.4388, allocations: 12 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4389, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4389, allocations: 3.984 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4389, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4389, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.4392, allocations: 239.2 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.082e-05/0.4393, allocations: 104.8 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.4393, allocations: 3.984 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4394, allocations: 19.94 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.4395, allocations: 19.91 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.4396, allocations: 11.98 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001382/0.4397, allocations: 145.5 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4397, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003915/0.4401, allocations: 47.94 kB / 1.068 GB, free: 10.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004058/0.4405, allocations: 169.5 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.441, allocations: 254.5 kB / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.441, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/0.4411, allocations: 47.98 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.4415, allocations: 57.48 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.4423, allocations: 372.7 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4426, allocations: 0.7245 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.4427, allocations: 25.94 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.4428, allocations: 27.42 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/0.4428, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.008714/0.4515, allocations: 3.235 MB / 1.073 GB, free: 5.609 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (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 & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches