Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_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.0008879/0.0008879, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005648/0.005648, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.123/2.123, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003303, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.541, allocations: 142.4 MB / 0.9552 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.001745/0.5428, allocations: 1.573 MB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.5439, allocations: 0.6632 MB / 0.9573 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.544, allocations: 5.312 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.5441, allocations: 28.12 kB / 0.9574 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.5444, allocations: 92.66 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.5447, allocations: 151.4 kB / 0.9576 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.5449, allocations: 229.4 kB / 0.9578 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.545, allocations: 36.66 kB / 0.9579 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.172e-05/0.5451, allocations: 93.86 kB / 0.9579 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0364/0.5815, allocations: 2.642 MB / 0.9605 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.5816, allocations: 8.812 kB / 0.9605 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.5817, allocations: 33.91 kB / 0.9606 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.5818, allocations: 34.25 kB / 0.9606 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.5819, allocations: 107.5 kB / 0.9607 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.5821, allocations: 210.7 kB / 0.9609 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5821, allocations: 0.7812 kB / 0.9609 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5821, allocations: 0 / 0.9609 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.5821, allocations: 0 / 0.9609 GB, free: 4.215 MB / 0.7169 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.0005502/0.5827, allocations: 0.5168 MB / 0.9614 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5827, allocations: 9.781 kB / 0.9614 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.5828, allocations: 49.45 kB / 0.9615 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.5828, allocations: 21.09 kB / 0.9615 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.5831, allocations: 249.8 kB / 0.9617 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.5831, allocations: 11.03 kB / 0.9617 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.5831, allocations: 16.09 kB / 0.9618 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5833, allocations: 107.4 kB / 0.9619 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5833, allocations: 0 / 0.9619 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5833, allocations: 9.016 kB / 0.9619 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5833, allocations: 6.562 kB / 0.9619 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.5834, allocations: 60.08 kB / 0.9619 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.5841, allocations: 499.5 kB / 0.9624 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.5843, allocations: 116 kB / 0.9625 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.5844, allocations: 39.53 kB / 0.9625 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.5844, allocations: 1.062 kB / 0.9626 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.5846, allocations: 109 kB / 0.9627 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.5846, allocations: 0 / 0.9627 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0002802/0.5849, allocations: 175.3 kB / 0.9628 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.5849, allocations: 58.7 kB / 0.9629 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.585, allocations: 207.5 kB / 0.9631 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5851, allocations: 33.11 kB / 0.9631 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.5851, allocations: 126.9 kB / 0.9632 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.5852, allocations: 41.42 kB / 0.9633 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.5852, allocations: 32.58 kB / 0.9633 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.5853, allocations: 326.8 kB / 0.9636 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5854, allocations: 67.34 kB / 0.9637 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.5856, allocations: 126.2 kB / 0.9638 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.5858, allocations: 213.6 kB / 0.964 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5858, allocations: 1.406 kB / 0.964 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000473/0.5863, allocations: 337.3 kB / 0.9643 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.5863, allocations: 72.39 kB / 0.9644 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5864, allocations: 3.531 kB / 0.9644 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5864, allocations: 0 / 0.9644 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.5864, allocations: 22.08 kB / 0.9644 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5865, allocations: 3.844 kB / 0.9644 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.5866, allocations: 34.23 kB / 0.9645 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.5867, allocations: 8.844 kB / 0.9645 GB, free: 1.145 MB / 0.7169 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 9.195e-05/0.5868, allocations: 151.8 kB / 0.9646 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.5868, allocations: 18.84 kB / 0.9646 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.587, allocations: 147.9 kB / 0.9648 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.587, allocations: 1.281 kB / 0.9648 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.587, allocations: 4.906 kB / 0.9648 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.587, allocations: 3.984 kB / 0.9648 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.5875, allocations: 0.4931 MB / 0.9653 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5875, allocations: 0 / 0.9653 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.5875, allocations: 6.594 kB / 0.9653 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5875, allocations: 3.984 kB / 0.9653 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.5875, allocations: 5.469 kB / 0.9653 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5875, allocations: 1.312 kB / 0.9653 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5875, allocations: 0 / 0.9653 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.5877, allocations: 242.8 kB / 0.9655 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.5878, allocations: 108.5 kB / 0.9656 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.5878, allocations: 6.5 kB / 0.9656 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5879, allocations: 10.23 kB / 0.9656 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.588, allocations: 16.14 kB / 0.9656 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.588, allocations: 6.25 kB / 0.9656 GB, free: 140 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.054e-05/0.5881, allocations: 149 kB / 0.9658 GB, free: 28 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5881, allocations: 4 kB / 0.9658 GB, free: 24 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002845/0.5884, allocations: 40.47 kB / 0.9658 GB, free: 20 kB / 0.7169 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.0006365/0.589, allocations: 0.8401 MB / 0.9666 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.5894, allocations: 253.3 kB / 0.9669 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5894, allocations: 4.312 kB / 0.9669 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.5895, allocations: 48.27 kB / 0.9669 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.5899, allocations: 60 kB / 0.967 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.5923, allocations: 2.297 MB / 0.9692 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.5926, allocations: 0.732 MB / 0.97 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.871e-05/0.5927, allocations: 29.55 kB / 0.97 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.5929, allocations: 60.31 kB / 0.97 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.5929, allocations: 0 / 0.97 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.6074, allocations: 5.004 MB / 0.9749 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.6077, allocations: 249.8 kB / 0.9752 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.421, allocations: 0 / 0.9752 GB, free: 9.691 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches