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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 476.7 MB / 0.7611 GB, free: 15.86 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 71.89 kB / 1.104 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.087, allocations: 168.7 MB / 1.269 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003592/1.091, allocations: 1.795 MB / 1.27 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001296/1.092, allocations: 0.6292 MB / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/1.092, allocations: 4.75 kB / 1.271 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/1.092, allocations: 27.59 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003736/1.093, allocations: 123.8 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/1.093, allocations: 153.1 kB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/1.093, allocations: 243.8 kB / 1.272 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/1.093, allocations: 30.7 kB / 1.272 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/1.094, allocations: 110.7 kB / 1.272 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007974/1.102, allocations: 1.063 MB / 1.273 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/1.102, allocations: 17.59 kB / 1.273 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/1.102, allocations: 37.89 kB / 1.273 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/1.102, allocations: 49.98 kB / 1.273 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/1.102, allocations: 90.12 kB / 1.273 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004558/1.103, allocations: 229.9 kB / 1.273 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.103, allocations: 1.469 kB / 1.273 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/1.103, allocations: 0 / 1.273 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.103, allocations: 0 / 1.273 GB, free: 5.281 MB / 0.9981 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.0008371/1.103, allocations: 0.5476 MB / 1.274 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/1.103, allocations: 13.28 kB / 1.274 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/1.104, allocations: 48.31 kB / 1.274 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/1.104, allocations: 24.77 kB / 1.274 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/1.104, allocations: 247.8 kB / 1.274 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.104, allocations: 11.75 kB / 1.274 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/1.104, allocations: 17.41 kB / 1.274 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/1.104, allocations: 108.2 kB / 1.274 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.104, allocations: 0 / 1.274 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/1.104, allocations: 5.531 kB / 1.274 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/1.104, allocations: 3.562 kB / 1.274 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/1.104, allocations: 64.8 kB / 1.274 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/1.105, allocations: 481.7 kB / 1.275 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/1.106, allocations: 104.7 kB / 1.275 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/1.106, allocations: 36.62 kB / 1.275 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.106, allocations: 5.047 kB / 1.275 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/1.106, allocations: 102.6 kB / 1.275 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/1.106, allocations: 3.938 kB / 1.275 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003912/1.106, allocations: 181.2 kB / 1.275 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/1.106, allocations: 61.23 kB / 1.275 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/1.107, allocations: 208.2 kB / 1.275 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/1.107, allocations: 34.39 kB / 1.275 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/1.107, allocations: 123.4 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/1.107, allocations: 40.5 kB / 1.276 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.107, allocations: 62.16 kB / 1.276 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/1.107, allocations: 331.4 kB / 1.276 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.107, allocations: 64.86 kB / 1.276 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/1.107, allocations: 143.4 kB / 1.276 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/1.108, allocations: 214.6 kB / 1.276 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.108, allocations: 0.75 kB / 1.276 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006835/1.108, allocations: 329.5 kB / 1.277 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/1.108, allocations: 69.27 kB / 1.277 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.108, allocations: 2.125 kB / 1.277 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/1.108, allocations: 2.375 kB / 1.277 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.108, allocations: 25.48 kB / 1.277 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.108, allocations: 1.812 kB / 1.277 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/1.109, allocations: 30.42 kB / 1.277 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.109, allocations: 15.94 kB / 1.277 GB, free: 2.523 MB / 0.9981 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.0001337/1.109, allocations: 140.4 kB / 1.277 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/1.109, allocations: 24.22 kB / 1.277 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/1.109, allocations: 146 kB / 1.277 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/1.109, allocations: 1.844 kB / 1.277 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.109, allocations: 4.875 kB / 1.277 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.109, allocations: 0 / 1.277 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/1.11, allocations: 490.3 kB / 1.278 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.11, allocations: 0.8438 kB / 1.278 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/1.11, allocations: 9.312 kB / 1.278 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.11, allocations: 1.125 kB / 1.278 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/1.11, allocations: 1.656 kB / 1.278 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.11, allocations: 5.844 kB / 1.278 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.11, allocations: 3.938 kB / 1.278 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/1.11, allocations: 247.1 kB / 1.278 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/1.11, allocations: 100.3 kB / 1.278 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.11, allocations: 5 kB / 1.278 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/1.11, allocations: 6.828 kB / 1.278 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/1.111, allocations: 17.53 kB / 1.278 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/1.111, allocations: 6.875 kB / 1.278 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001271/1.111, allocations: 154.9 kB / 1.278 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.111, allocations: 0 / 1.278 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003343/1.111, allocations: 48.81 kB / 1.278 GB, free: 1.516 MB / 0.9981 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.0007224/1.112, allocations: 0.8484 MB / 1.279 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000411/1.112, allocations: 244.5 kB / 1.279 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.112, allocations: 4.062 kB / 1.279 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/1.112, allocations: 43.31 kB / 1.279 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/1.113, allocations: 62.39 kB / 1.279 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/1.116, allocations: 2.273 MB / 1.282 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/1.117, allocations: 0.7325 MB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000119/1.117, allocations: 33.28 kB / 1.282 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/1.117, allocations: 56.27 kB / 1.282 GB, free: 14.16 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.117, allocations: 0 / 1.282 GB, free: 14.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/1.151, allocations: 5.512 MB / 1.288 GB, free: 13.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/9.632, allocations: 16.17 kB / 1.288 GB, free: 13.38 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 15.962678860872984]