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.001987/0.001987, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002073/0.002073, allocations: 191.6 kB / 22.17 MB, free: 5.652 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.565/1.565, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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.767/2.767, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 59.91 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8687/0.8707, allocations: 168.7 MB / 1.274 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.005509/0.8763, allocations: 1.797 MB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.8788, allocations: 0.6291 MB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.8789, allocations: 7.938 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.8792, allocations: 31.66 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006825/0.8799, allocations: 119.5 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.8806, allocations: 159.6 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.8811, allocations: 247.4 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.8813, allocations: 21.67 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.8816, allocations: 111.7 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01523/0.8968, allocations: 1.066 MB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.8969, allocations: 16 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.8972, allocations: 39.98 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.8973, allocations: 47.83 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.8975, allocations: 83.58 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.8982, allocations: 225.9 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.8982, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8982, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.8982, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 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.001444/0.8997, allocations: 0.5644 MB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8997, allocations: 12.03 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.8998, allocations: 24.8 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.9004, allocations: 244.2 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.9004, allocations: 12.38 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.9005, allocations: 20.11 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.9009, allocations: 105.6 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.9009, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.9009, allocations: 8 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.901, allocations: 3.938 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.9012, allocations: 59.83 kB / 1.28 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.9028, allocations: 492.3 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.9033, allocations: 98.73 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.9034, allocations: 32.84 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.9034, allocations: 4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.9037, allocations: 107.3 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 5.24e-06/0.9037, allocations: 3.984 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006207/0.9043, allocations: 179.1 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.9044, allocations: 59.34 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.9047, allocations: 207.8 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.9049, allocations: 33.7 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.905, allocations: 128.4 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.9051, allocations: 39.7 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.9053, allocations: 65.61 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.9055, allocations: 330.8 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.9058, allocations: 63.95 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.9063, allocations: 134.2 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.9069, allocations: 217.3 kB / 1.282 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9069, allocations: 0 / 1.282 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001225/0.9081, allocations: 343 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.9082, allocations: 63.39 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.9082, allocations: 7.938 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.9082, allocations: 0 / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.9084, allocations: 23.98 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.9084, allocations: 3.938 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.9088, allocations: 23.88 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.9088, allocations: 12 kB / 1.282 GB, free: 12.09 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.0003364/0.9092, allocations: 140.1 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.9092, allocations: 19.94 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.9097, allocations: 155.3 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.9097, allocations: 0 / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.9097, allocations: 3.984 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9097, allocations: 0 / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.9109, allocations: 0.4893 MB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9109, allocations: 0 / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.9109, allocations: 7.984 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.9109, allocations: 4 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.911, allocations: 4 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.911, allocations: 0 / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.911, allocations: 0 / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.9115, allocations: 243.2 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.9116, allocations: 97 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.9117, allocations: 7.984 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.9119, allocations: 4 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.912, allocations: 23.97 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.9121, allocations: 11.94 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002592/0.9123, allocations: 145.5 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9123, allocations: 0 / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006473/0.913, allocations: 55.88 kB / 1.283 GB, free: 10.59 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.000676/0.9136, allocations: 173 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008445/0.9145, allocations: 238.9 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9145, allocations: 4.062 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.9147, allocations: 47.91 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/0.9154, allocations: 64.94 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.9166, allocations: 335 kB / 1.284 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.9173, allocations: 0.7242 MB / 1.285 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.9175, allocations: 33.95 kB / 1.285 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.9176, allocations: 27.42 kB / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.9176, allocations: 0 / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.01517/0.9327, allocations: 3.603 MB / 1.289 GB, free: 5.336 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] 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: 9.03056594543159]