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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001221/0.001221, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5748/0.576, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002667/0.5787, allocations: 1.766 MB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.5797, allocations: 0.6263 MB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.906e-05/0.5798, allocations: 5.469 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.58, allocations: 26.27 kB / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.5803, allocations: 122 kB / 0.9522 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.5807, allocations: 156.2 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.5809, allocations: 243.9 kB / 0.9526 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.581, allocations: 42.98 kB / 0.9526 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.5811, allocations: 107.3 kB / 0.9527 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005239/0.5864, allocations: 1.038 MB / 0.9537 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.5864, allocations: 21.41 kB / 0.9537 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.5865, allocations: 44.38 kB / 0.9538 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.5866, allocations: 37.06 kB / 0.9538 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.358e-05/0.5867, allocations: 98.47 kB / 0.9539 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.587, allocations: 221.3 kB / 0.9541 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.587, allocations: 0 / 0.9541 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.587, allocations: 5.156 kB / 0.9541 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.587, allocations: 0 / 0.9541 GB, free: 6.23 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.0005836/0.5876, allocations: 0.5533 MB / 0.9547 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.5876, allocations: 9 kB / 0.9547 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.5876, allocations: 42.39 kB / 0.9547 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.5877, allocations: 28.56 kB / 0.9548 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.588, allocations: 246.5 kB / 0.955 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.588, allocations: 19.62 kB / 0.955 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.588, allocations: 19.28 kB / 0.955 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.5882, allocations: 115.4 kB / 0.9551 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.5882, allocations: 0 / 0.9551 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5882, allocations: 5.5 kB / 0.9551 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5882, allocations: 2.906 kB / 0.9551 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.5883, allocations: 56.83 kB / 0.9552 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.589, allocations: 481.2 kB / 0.9557 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.5892, allocations: 116.1 kB / 0.9558 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.5893, allocations: 39.97 kB / 0.9558 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5893, allocations: 9.391 kB / 0.9558 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.5894, allocations: 102.2 kB / 0.9559 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.5894, allocations: 0 / 0.9559 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0002752/0.5897, allocations: 178.1 kB / 0.9561 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.5898, allocations: 58.91 kB / 0.9561 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.5899, allocations: 210.8 kB / 0.9563 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.5899, allocations: 34.11 kB / 0.9564 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.59, allocations: 122 kB / 0.9565 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.59, allocations: 40.95 kB / 0.9565 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.5901, allocations: 63.78 kB / 0.9566 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.5902, allocations: 334.9 kB / 0.9569 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.5903, allocations: 63.7 kB / 0.957 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.5905, allocations: 131.7 kB / 0.9571 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.5907, allocations: 218.5 kB / 0.9573 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5908, allocations: 0 / 0.9573 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005248/0.5913, allocations: 325.4 kB / 0.9576 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.5913, allocations: 72.45 kB / 0.9577 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5913, allocations: 2.25 kB / 0.9577 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5914, allocations: 2.312 kB / 0.9577 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.5914, allocations: 21.23 kB / 0.9577 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5915, allocations: 2.938 kB / 0.9577 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5916, allocations: 30.36 kB / 0.9577 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.5917, allocations: 21.38 kB / 0.9578 GB, free: 3.113 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 0.0001032/0.5918, allocations: 139.8 kB / 0.9579 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.5918, allocations: 20.09 kB / 0.9579 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.592, allocations: 147.9 kB / 0.958 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.592, allocations: 2.625 kB / 0.9581 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.5921, allocations: 0 / 0.9581 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5921, allocations: 9.078 kB / 0.9581 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.5925, allocations: 487.5 kB / 0.9585 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5926, allocations: 0 / 0.9585 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.5926, allocations: 16.95 kB / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5926, allocations: 1.062 kB / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5926, allocations: 2.188 kB / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5926, allocations: 0 / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5926, allocations: 1.094 kB / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.5928, allocations: 240.8 kB / 0.9588 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.5929, allocations: 105.2 kB / 0.9589 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.5929, allocations: 9.359 kB / 0.9589 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.593, allocations: 4.125 kB / 0.9589 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.5931, allocations: 18.84 kB / 0.9589 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.5931, allocations: 6.875 kB / 0.9589 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000101/0.5932, allocations: 145.8 kB / 0.9591 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5932, allocations: 4 kB / 0.9591 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003062/0.5935, allocations: 48.02 kB / 0.9591 GB, free: 2 MB / 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.000533/0.5941, allocations: 0.8407 MB / 0.9599 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.5945, allocations: 253.6 kB / 0.9602 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5945, allocations: 5.062 kB / 0.9602 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.5946, allocations: 54.98 kB / 0.9602 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.595, allocations: 63.8 kB / 0.9603 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.5974, allocations: 2.255 MB / 0.9625 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.5977, allocations: 0.7267 MB / 0.9632 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.656e-05/0.5978, allocations: 26.16 kB / 0.9632 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.5979, allocations: 61.12 kB / 0.9633 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5979, allocations: 0 / 0.9633 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.6224, allocations: 5.418 MB / 0.9686 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.814, allocations: 4.969 kB / 0.9686 GB, free: 11.64 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