Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_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.001125/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001124/0.001124, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.352/2.352, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5099, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003354/0.5133, allocations: 1.929 MB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.5146, allocations: 0.6742 MB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.5147, allocations: 3.938 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.515, allocations: 23.84 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.5153, allocations: 87.67 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.5157, allocations: 155.6 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.516, allocations: 231.4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.5161, allocations: 45.56 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.5163, allocations: 95.61 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/0.5289, allocations: 0.9647 MB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-05/0.529, allocations: 11.94 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.5291, allocations: 31.98 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.5292, allocations: 35.91 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.5293, allocations: 87.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.5296, allocations: 215.2 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5297, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5297, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5297, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 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.0008171/0.5305, allocations: 0.5489 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5305, allocations: 8.031 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.5306, allocations: 46.73 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.5307, allocations: 24.66 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.531, allocations: 252 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5311, allocations: 12.38 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.5311, allocations: 11.94 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.5313, allocations: 107.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.5313, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.5313, allocations: 7.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5313, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.5315, allocations: 55.97 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.5323, allocations: 0.4883 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.5326, allocations: 114.7 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.5327, allocations: 36.84 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.5327, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.5329, allocations: 99.36 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.5329, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003533/0.5333, allocations: 181.3 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.5333, allocations: 55.41 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.5335, allocations: 207.7 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.5335, allocations: 33.7 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.5336, allocations: 120.4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.5337, allocations: 55.38 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.5338, allocations: 57.67 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5339, allocations: 326.8 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.5341, allocations: 67.94 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.5343, allocations: 137.2 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.5346, allocations: 201.3 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5347, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00059/0.5353, allocations: 336.6 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.5353, allocations: 67.33 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5353, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5354, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.5354, allocations: 31.92 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.5355, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.5356, allocations: 19.84 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5357, allocations: 15.98 kB / 1.025 GB, free: 10.38 MB / 0.7794 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.0001357/0.5358, allocations: 148.7 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.5359, allocations: 23.66 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.5361, allocations: 150.6 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5361, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5361, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5361, allocations: 3.984 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.5367, allocations: 494.1 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5367, allocations: 4 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.5368, allocations: 4 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5368, allocations: 0 / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.5368, allocations: 7.984 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5368, allocations: 0 / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5368, allocations: 0 / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.5371, allocations: 243.1 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.5372, allocations: 100.9 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.5372, allocations: 4 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.5373, allocations: 7.984 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.5374, allocations: 19.97 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.5374, allocations: 8 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001234/0.5375, allocations: 140.2 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5375, allocations: 4 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003218/0.5379, allocations: 51.83 kB / 1.026 GB, free: 8.895 MB / 0.7794 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.06699/0.6049, allocations: 0.8547 MB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.6056, allocations: 246.7 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6056, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.6058, allocations: 51.92 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.6064, allocations: 56.61 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.6096, allocations: 2.3 MB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.61, allocations: 0.7284 MB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.6101, allocations: 37.86 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.6102, allocations: 59.41 kB / 1.03 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.6102, allocations: 0 / 1.03 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.6269, allocations: 5.098 MB / 1.035 GB, free: 15.42 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/0.6272, allocations: 250.8 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.547, allocations: 3.938 kB / 1.036 GB, free: 15.15 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches