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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00488/0.00488, allocations: 100.2 kB / 15.73 MB, free: 5.602 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.00129/0.00129, allocations: 192.2 kB / 16.68 MB, free: 5.523 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 482.4 MB / 0.7548 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 72.2 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 162.2 MB / 1.241 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003689/0.3634, allocations: 1.771 MB / 1.243 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3649, allocations: 0.6197 MB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.3651, allocations: 11.94 kB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.3654, allocations: 27.72 kB / 1.244 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005189/0.3659, allocations: 119.4 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.3664, allocations: 155.7 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.3668, allocations: 247.4 kB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.367, allocations: 37.66 kB / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3672, allocations: 111.7 kB / 1.244 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008368/0.3756, allocations: 1.052 MB / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3757, allocations: 16 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3759, allocations: 40 kB / 1.246 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.376, allocations: 47.83 kB / 1.246 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.3762, allocations: 95.5 kB / 1.246 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.3767, allocations: 219.1 kB / 1.246 GB, free: 5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3767, allocations: 3.938 kB / 1.246 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3767, allocations: 0 / 1.246 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.3767, allocations: 0 / 1.246 GB, free: 4.996 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.000987/0.3777, allocations: 0.5564 MB / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3778, allocations: 8.031 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.3778, allocations: 46.67 kB / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/0.3779, allocations: 24.8 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.3783, allocations: 252.2 kB / 1.247 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3784, allocations: 12.38 kB / 1.247 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.3784, allocations: 19.94 kB / 1.247 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3787, allocations: 109.4 kB / 1.247 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3787, allocations: 3.984 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3787, allocations: 0 / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3787, allocations: 8 kB / 1.247 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3788, allocations: 55.97 kB / 1.247 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3799, allocations: 488.4 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3802, allocations: 102.7 kB / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.3803, allocations: 40.89 kB / 1.248 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.3803, allocations: 4 kB / 1.248 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.3805, allocations: 113.8 kB / 1.248 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 4.098e-06/0.3805, allocations: 0 / 1.248 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.000393/0.3809, allocations: 177.4 kB / 1.248 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.381, allocations: 63.34 kB / 1.248 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.3812, allocations: 207.7 kB / 1.248 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3812, allocations: 33.7 kB / 1.248 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3813, allocations: 128.4 kB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3814, allocations: 43.69 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3815, allocations: 57.69 kB / 1.248 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3817, allocations: 330.8 kB / 1.249 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.3819, allocations: 71.89 kB / 1.249 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3821, allocations: 125.9 kB / 1.249 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.3824, allocations: 212.6 kB / 1.249 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3824, allocations: 0 / 1.249 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006708/0.3831, allocations: 336.6 kB / 1.249 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.3832, allocations: 75.33 kB / 1.249 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3832, allocations: 0 / 1.249 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3832, allocations: 4.156 kB / 1.249 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.3833, allocations: 23.92 kB / 1.249 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3834, allocations: 4 kB / 1.249 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3836, allocations: 27.88 kB / 1.249 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.3836, allocations: 11.98 kB / 1.249 GB, free: 0.9531 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.0001467/0.3838, allocations: 144.5 kB / 1.25 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3838, allocations: 23.83 kB / 1.25 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.3841, allocations: 139.5 kB / 1.25 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3841, allocations: 8 kB / 1.25 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3841, allocations: 0 / 1.25 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3841, allocations: 4.031 kB / 1.25 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.3848, allocations: 0.489 MB / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3848, allocations: 0 / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.3848, allocations: 8 kB / 1.25 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3848, allocations: 0 / 1.25 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3848, allocations: 0 / 1.25 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.3849, allocations: 4 kB / 1.25 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3849, allocations: 11.88 kB / 1.25 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.3852, allocations: 235.3 kB / 1.251 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.3853, allocations: 104.9 kB / 1.251 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3853, allocations: 4 kB / 1.251 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3854, allocations: 11.98 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.3855, allocations: 11.98 kB / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3855, allocations: 11.98 kB / 1.251 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001425/0.3857, allocations: 149.5 kB / 1.251 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3857, allocations: 0 / 1.251 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003272/0.386, allocations: 47.95 kB / 1.251 GB, free: 15.46 MB / 0.9825 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.0008796/0.3869, allocations: 0.8411 MB / 1.252 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.3874, allocations: 260.9 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3874, allocations: 4.062 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.3875, allocations: 47.98 kB / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3879, allocations: 69.59 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.391, allocations: 2.257 MB / 1.254 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3914, allocations: 0.7281 MB / 1.255 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.772e-05/0.3915, allocations: 25.94 kB / 1.255 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3916, allocations: 59.41 kB / 1.255 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.3916, allocations: 0 / 1.255 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.4219, allocations: 5.483 MB / 1.26 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.566, allocations: 8 kB / 1.26 GB, free: 5.633 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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