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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002492/0.002492, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.504/1.504, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.542/2.542, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7929, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003604/0.7966, allocations: 1.917 MB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.7977, allocations: 0.6652 MB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.7978, allocations: 5.062 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.7981, allocations: 23.86 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.7984, allocations: 99.59 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.7988, allocations: 147.2 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.7991, allocations: 235.5 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.7992, allocations: 51.53 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.7994, allocations: 107.8 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01267/0.812, allocations: 1.042 MB / 0.9533 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.8122, allocations: 17.06 kB / 0.9533 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.8123, allocations: 40.06 kB / 0.9533 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.8124, allocations: 42.41 kB / 0.9534 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.8125, allocations: 94 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.8129, allocations: 222 kB / 0.9537 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8129, allocations: 0 / 0.9537 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8129, allocations: 0 / 0.9537 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8129, allocations: 1.094 kB / 0.9537 GB, free: 6.062 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.0008256/0.8138, allocations: 0.5604 MB / 0.9542 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.8138, allocations: 9.75 kB / 0.9542 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.166e-05/0.8139, allocations: 23.94 kB / 0.9542 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.8142, allocations: 254.5 kB / 0.9545 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.8143, allocations: 11.25 kB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.8143, allocations: 19.84 kB / 0.9545 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.8145, allocations: 107.7 kB / 0.9546 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8146, allocations: 0 / 0.9546 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.8146, allocations: 5.156 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.8146, allocations: 2.344 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.8148, allocations: 59.84 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.8156, allocations: 482.6 kB / 0.9551 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.8159, allocations: 111.5 kB / 0.9552 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.816, allocations: 38.7 kB / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.816, allocations: 2.375 kB / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.8162, allocations: 106.7 kB / 0.9554 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.8162, allocations: 0 / 0.9554 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003461/0.8165, allocations: 185.1 kB / 0.9556 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.8166, allocations: 54.91 kB / 0.9556 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.8168, allocations: 207.5 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.8168, allocations: 37.22 kB / 0.9558 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.8169, allocations: 127.4 kB / 0.956 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.8169, allocations: 40.97 kB / 0.956 GB, free: 4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.817, allocations: 64.5 kB / 0.9561 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.8171, allocations: 330.5 kB / 0.9564 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.8173, allocations: 58.95 kB / 0.9564 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.8175, allocations: 141 kB / 0.9566 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.8178, allocations: 226.4 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8178, allocations: 1.312 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005791/0.8184, allocations: 323.7 kB / 0.9571 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.8185, allocations: 65.3 kB / 0.9572 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.8185, allocations: 5.438 kB / 0.9572 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.8185, allocations: 6.969 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.8186, allocations: 21.58 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.8186, allocations: 3.375 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.8188, allocations: 22.73 kB / 0.9572 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.8188, allocations: 17.55 kB / 0.9572 GB, free: 2.996 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.000119/0.819, allocations: 143.3 kB / 0.9574 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.819, allocations: 15.62 kB / 0.9574 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.8192, allocations: 155.8 kB / 0.9575 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8193, allocations: 2.625 kB / 0.9575 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8193, allocations: 0 / 0.9575 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8193, allocations: 0 / 0.9575 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.8198, allocations: 495.3 kB / 0.958 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8198, allocations: 5.078 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.8199, allocations: 5.438 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.8199, allocations: 1.281 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8199, allocations: 1.375 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8199, allocations: 0 / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8199, allocations: 1.375 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.8201, allocations: 252.6 kB / 0.9583 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.8202, allocations: 99.78 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.8202, allocations: 1.375 kB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.8203, allocations: 13.48 kB / 0.9584 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.8204, allocations: 10.86 kB / 0.9584 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.8204, allocations: 14.86 kB / 0.9584 GB, free: 2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000106/0.8206, allocations: 141.3 kB / 0.9585 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8206, allocations: 0 / 0.9585 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000311/0.8209, allocations: 55.62 kB / 0.9586 GB, free: 1.879 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.0003537/0.8212, allocations: 174.1 kB / 0.9588 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.8217, allocations: 262 kB / 0.959 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8217, allocations: 1.188 kB / 0.959 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.8218, allocations: 51.36 kB / 0.9591 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.8223, allocations: 63.27 kB / 0.9591 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.8229, allocations: 375.9 kB / 0.9595 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.8231, allocations: 0.7276 MB / 0.9602 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.202e-05/0.8232, allocations: 29.69 kB / 0.9602 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.8233, allocations: 24.11 kB / 0.9602 GB, free: 488 kB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8233, allocations: 0 / 0.9602 GB, free: 488 kB / 0.7169 GB Notification: Performance of Templates: time 0.007834/0.8311, allocations: 3.489 MB / 0.9636 GB, free: 14.72 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (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 & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches