Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 212.3 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.7 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.92 kB / 1.117 GB, free: 41.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3991, allocations: 170 MB / 1.283 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003537/0.4027, allocations: 1.768 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.4042, allocations: 0.6119 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.4043, allocations: 7.938 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.4045, allocations: 23.72 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.4049, allocations: 123.5 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.4053, allocations: 166 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.4056, allocations: 247.3 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4058, allocations: 21.8 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.4059, allocations: 115.6 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008153/0.4141, allocations: 1.052 MB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.4142, allocations: 20 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.4143, allocations: 36 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.382e-05/0.4144, allocations: 43.88 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.4146, allocations: 83.52 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.4151, allocations: 219.1 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4151, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4151, allocations: 4 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.4151, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 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.0011/0.4162, allocations: 0.4927 MB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4163, allocations: 8.031 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.474e-05/0.4163, allocations: 42.75 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.799e-05/0.4164, allocations: 20.84 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.4169, allocations: 194.3 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.4169, allocations: 8.375 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.4169, allocations: 23.94 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.4172, allocations: 113.5 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4172, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4173, allocations: 3.984 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4173, allocations: 4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4174, allocations: 55.97 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4185, allocations: 427.5 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.4188, allocations: 110.6 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.4189, allocations: 28.84 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.4189, allocations: 4 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.4191, allocations: 107.3 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.4191, allocations: 0 / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004229/0.4195, allocations: 173.4 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.4196, allocations: 59.41 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.4198, allocations: 203.8 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.4199, allocations: 33.7 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.42, allocations: 144.4 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.4201, allocations: 27.75 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4202, allocations: 69.62 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4204, allocations: 330.8 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.4206, allocations: 123.3 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.421, allocations: 241.3 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.4213, allocations: 213.3 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4213, allocations: 0 / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007443/0.4221, allocations: 396.1 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-05/0.4222, allocations: 73.52 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4222, allocations: 0 / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.4222, allocations: 4 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.4223, allocations: 15.94 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.4223, allocations: 7.984 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.4225, allocations: 24.05 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.4226, allocations: 15.98 kB / 1.291 GB, free: 4.223 MB / 0.9825 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.0001907/0.4228, allocations: 143.8 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.4228, allocations: 23.8 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.4231, allocations: 149.5 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4231, allocations: 4 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4231, allocations: 0 / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.4231, allocations: 3.984 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.4238, allocations: 457.2 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.4238, allocations: 4 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.4239, allocations: 8 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4239, allocations: 0 / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4239, allocations: 7.922 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4239, allocations: 4 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4239, allocations: 0 / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.4242, allocations: 242.8 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.4242, allocations: 31.77 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.4243, allocations: 4 kB / 1.292 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4244, allocations: 15.92 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.4245, allocations: 15.97 kB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.4245, allocations: 12 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001714/0.4247, allocations: 141.5 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4247, allocations: 0 / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003811/0.425, allocations: 51.92 kB / 1.292 GB, free: 2.852 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.00105/0.4261, allocations: 0.8474 MB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.4266, allocations: 306 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4266, allocations: 0 / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.4267, allocations: 48.23 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4272, allocations: 62.08 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.431, allocations: 2.484 MB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.4311, allocations: 120.1 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.4312, allocations: 29.92 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4313, allocations: 59.36 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.4313, allocations: 0 / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.4697, allocations: 6.376 MB / 1.302 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.88, allocations: 8.594 kB / 1.302 GB, free: 8.516 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.962088154628873]