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.01053/0.01053, allocations: 101.2 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.001898/0.001898, allocations: 194.2 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.445/1.445, 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 11.0.1-master/package.mo): time 2.898/2.898, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.12 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3525, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003725/0.3563, allocations: 1.772 MB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3576, allocations: 0.6279 MB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3577, allocations: 7.938 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.3579, allocations: 27.7 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.3584, allocations: 123.5 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3588, allocations: 157.3 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.3592, allocations: 243.4 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3593, allocations: 41.61 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3595, allocations: 107.7 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005894/0.3654, allocations: 1.046 MB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.3655, allocations: 20 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.3656, allocations: 35.94 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.3656, allocations: 47.77 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3658, allocations: 95.5 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.3661, allocations: 227.2 kB / 1.212 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3662, allocations: 0 / 1.212 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3662, allocations: 0 / 1.212 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.3662, allocations: 0 / 1.212 GB, free: 5.852 MB / 0.9669 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.000808/0.367, allocations: 0.5488 MB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.367, allocations: 12.62 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.3671, allocations: 46.73 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.3672, allocations: 28.66 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.3675, allocations: 244.2 kB / 1.213 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3675, allocations: 12.38 kB / 1.213 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.3676, allocations: 19.94 kB / 1.213 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3678, allocations: 101.6 kB / 1.213 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3678, allocations: 0 / 1.213 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.3678, allocations: 7.984 kB / 1.213 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3678, allocations: 3.938 kB / 1.213 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.368, allocations: 55.97 kB / 1.213 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.3688, allocations: 496.1 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.3691, allocations: 106.7 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.3692, allocations: 44.78 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3692, allocations: 4 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.3693, allocations: 110.3 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3694, allocations: 0 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003204/0.3697, allocations: 173.3 kB / 1.214 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3697, allocations: 55.41 kB / 1.214 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3699, allocations: 207.7 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.3699, allocations: 37.7 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.37, allocations: 120.4 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.3701, allocations: 43.53 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.3702, allocations: 61.67 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3703, allocations: 326.8 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3704, allocations: 63.95 kB / 1.215 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.3707, allocations: 132.2 kB / 1.215 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.371, allocations: 217.3 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.371, allocations: 0 / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005591/0.3716, allocations: 335.1 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.3716, allocations: 67.33 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3717, allocations: 4 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3717, allocations: 3.938 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.3718, allocations: 20 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.3718, allocations: 7.922 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.372, allocations: 28 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.372, allocations: 11.98 kB / 1.215 GB, free: 1.828 MB / 0.9669 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.0001312/0.3721, allocations: 144 kB / 1.215 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.3722, allocations: 27.78 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.3724, allocations: 147.5 kB / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3724, allocations: 0 / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3724, allocations: 0 / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3724, allocations: 0 / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.373, allocations: 0.4891 MB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.373, allocations: 0 / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.3731, allocations: 7.938 kB / 1.216 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3731, allocations: 0 / 1.216 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3731, allocations: 7.984 kB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3731, allocations: 0 / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3731, allocations: 0 / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.3733, allocations: 251 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.3734, allocations: 104.8 kB / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3735, allocations: 0 / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3736, allocations: 11.98 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.3736, allocations: 15.97 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.3737, allocations: 12 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001312/0.3738, allocations: 141.5 kB / 1.217 GB, free: 396 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3738, allocations: 0 / 1.217 GB, free: 396 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003077/0.3741, allocations: 47.98 kB / 1.217 GB, free: 348 kB / 0.9669 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.00076/0.3749, allocations: 0.8454 MB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.3753, allocations: 246.6 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3753, allocations: 0 / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.3754, allocations: 55.91 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.3759, allocations: 69.23 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.3793, allocations: 2.246 MB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3797, allocations: 0.732 MB / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.3798, allocations: 29.88 kB / 1.221 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3799, allocations: 59.34 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3799, allocations: 0 / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.408, allocations: 5.588 MB / 1.226 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.464, allocations: 15.38 kB / 1.226 GB, free: 6.418 MB / 0.9825 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