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.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.001824/0.001824, 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.002524/0.002524, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.324/3.324, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002111/0.002111, allocations: 68.41 kB / 1.186 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4015, allocations: 181.9 MB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003893/0.4054, allocations: 1.755 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.4071, allocations: 0.6246 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.4072, allocations: 3.938 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.4075, allocations: 35.72 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.4081, allocations: 119.5 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.4086, allocations: 166.1 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.4091, allocations: 247.3 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.4092, allocations: 34 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.4094, allocations: 107.7 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008348/0.4178, allocations: 1.04 MB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.4179, allocations: 16 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.418, allocations: 39.98 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.4182, allocations: 43.84 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.4183, allocations: 79.61 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.4188, allocations: 227.1 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4188, allocations: 0 / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.549e-06/0.4188, allocations: 3.984 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.4188, allocations: 0 / 1.368 GB, free: 9.957 MB / 1.061 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.000932/0.4197, allocations: 496.5 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4198, allocations: 12.03 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.4198, allocations: 38.73 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.4199, allocations: 24.8 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.4203, allocations: 202.1 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.4203, allocations: 12.38 kB / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.4204, allocations: 19.94 kB / 1.369 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.4206, allocations: 107.5 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4206, allocations: 0 / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.4206, allocations: 15.92 kB / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4206, allocations: 0 / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.4208, allocations: 55.97 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.4219, allocations: 423.5 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.4222, allocations: 102.7 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.4223, allocations: 32.84 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4223, allocations: 0 / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.4225, allocations: 103.4 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.4225, allocations: 0 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003926/0.4229, allocations: 187.4 kB / 1.37 GB, free: 8.012 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4229, allocations: 55.41 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.4231, allocations: 203.8 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.4232, allocations: 37.7 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4233, allocations: 120.5 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.4233, allocations: 47.67 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4235, allocations: 57.67 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4236, allocations: 326.8 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.4238, allocations: 123.3 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.4242, allocations: 242.5 kB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.4245, allocations: 223.9 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4245, allocations: 0 / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007171/0.4252, allocations: 392.1 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.4253, allocations: 71.33 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4253, allocations: 3.984 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4253, allocations: 4 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.4254, allocations: 20.09 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.4254, allocations: 8 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.4256, allocations: 23.88 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.4257, allocations: 15.98 kB / 1.371 GB, free: 5.891 MB / 1.061 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.0001697/0.4258, allocations: 149.1 kB / 1.372 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.4259, allocations: 19.84 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.4261, allocations: 147.3 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4262, allocations: 4 kB / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4262, allocations: 0 / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4262, allocations: 0 / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.4269, allocations: 453.3 kB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4269, allocations: 0 / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.4269, allocations: 7.938 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4269, allocations: 4 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4269, allocations: 7.938 kB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4269, allocations: 0 / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4269, allocations: 0 / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4272, allocations: 237.2 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.4273, allocations: 35.78 kB / 1.372 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.4273, allocations: 4 kB / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4274, allocations: 11.98 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.4275, allocations: 19.97 kB / 1.372 GB, free: 4.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.4275, allocations: 4 kB / 1.372 GB, free: 4.727 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001473/0.4276, allocations: 148.2 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4276, allocations: 3.938 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004005/0.428, allocations: 47.92 kB / 1.373 GB, free: 4.531 MB / 1.061 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.0009032/0.4289, allocations: 0.8472 MB / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.4294, allocations: 306.2 kB / 1.374 GB, free: 3.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.4294, allocations: 8.062 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.4295, allocations: 43.92 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.43, allocations: 65.03 kB / 1.374 GB, free: 3.238 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.4335, allocations: 2.498 MB / 1.376 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.4336, allocations: 120 kB / 1.376 GB, free: 428 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.4338, allocations: 29.92 kB / 1.376 GB, free: 396 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.4339, allocations: 63.34 kB / 1.377 GB, free: 332 kB / 1.061 GB Notification: Performance of SimCode: time 1.593e-06/0.4339, allocations: 0 / 1.377 GB, free: 332 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.473, allocations: 6.366 MB / 1.383 GB, free: 10.16 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.26, allocations: 13.58 kB / 1.383 GB, free: 10.15 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.234749041032046]