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.001198/0.001198, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001105/0.001105, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8964/0.8964, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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 1.903e-06/1.903e-06, allocations: 0 / 0.9517 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.337e-05, allocations: 10.16 kB / 0.9517 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002441/0.002474, allocations: 1.765 MB / 0.9534 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.003366, allocations: 0.6156 MB / 0.954 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.003452, allocations: 3.938 kB / 0.954 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.003637, allocations: 31.67 kB / 0.9541 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.003966, allocations: 127.3 kB / 0.9542 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.004249, allocations: 159.6 kB / 0.9543 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.004498, allocations: 239.4 kB / 0.9546 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.004632, allocations: 29.78 kB / 0.9546 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.004771, allocations: 147.6 kB / 0.9547 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.007835, allocations: 1.038 MB / 0.9557 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.007875, allocations: 16 kB / 0.9558 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.007957, allocations: 32 kB / 0.9558 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.008022, allocations: 51.81 kB / 0.9558 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.008095, allocations: 59.81 kB / 0.9559 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.008441, allocations: 243.2 kB / 0.9561 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.008445, allocations: 0 / 0.9561 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.008447, allocations: 0 / 0.9561 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.008452, allocations: 4 kB / 0.9561 GB, free: 13.58 MB / 0.8698 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.000648/0.0091, allocations: 0.4889 MB / 0.9566 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.009137, allocations: 12.03 kB / 0.9566 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.009198, allocations: 24.8 kB / 0.9566 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.009479, allocations: 195.4 kB / 0.9568 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.009494, allocations: 12.38 kB / 0.9568 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.00952, allocations: 16.38 kB / 0.9569 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.00968, allocations: 107.7 kB / 0.957 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.00969, allocations: 7.938 kB / 0.957 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.009704, allocations: 7.984 kB / 0.957 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.009708, allocations: 0 / 0.957 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.009797, allocations: 55.97 kB / 0.957 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.01035, allocations: 396.1 kB / 0.9574 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.01065, allocations: 106.6 kB / 0.9575 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.01069, allocations: 32.89 kB / 0.9575 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.01071, allocations: 0 / 0.9575 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.01083, allocations: 103.4 kB / 0.9576 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.01083, allocations: 0 / 0.9576 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.0002683/0.0111, allocations: 183.8 kB / 0.9578 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.01114, allocations: 59.34 kB / 0.9579 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01128, allocations: 203.8 kB / 0.9581 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.01131, allocations: 33.7 kB / 0.9581 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.01138, allocations: 132.5 kB / 0.9582 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.01141, allocations: 43.69 kB / 0.9583 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.01147, allocations: 61.67 kB / 0.9583 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.01156, allocations: 330.8 kB / 0.9586 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.0117, allocations: 123.3 kB / 0.9588 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.01187, allocations: 248.5 kB / 0.959 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.01219, allocations: 209.2 kB / 0.9592 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01219, allocations: 0 / 0.9592 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003819/0.01258, allocations: 397.1 kB / 0.9596 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.01262, allocations: 67.39 kB / 0.9596 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01263, allocations: 0 / 0.9596 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01264, allocations: 4 kB / 0.9596 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.0127, allocations: 31.86 kB / 0.9597 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01271, allocations: 4 kB / 0.9597 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.0128, allocations: 31.77 kB / 0.9597 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01282, allocations: 12.16 kB / 0.9597 GB, free: 9.59 MB / 0.8698 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 9.5e-05/0.01291, allocations: 147.8 kB / 0.9599 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.01293, allocations: 15.91 kB / 0.9599 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.0131, allocations: 143.4 kB / 0.96 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01311, allocations: 4 kB / 0.96 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01311, allocations: 3.938 kB / 0.96 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01312, allocations: 7.922 kB / 0.96 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.01348, allocations: 406 kB / 0.9604 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01348, allocations: 0 / 0.9604 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.0135, allocations: 11.92 kB / 0.9604 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01351, allocations: 4 kB / 0.9604 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01352, allocations: 11.94 kB / 0.9604 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01352, allocations: 0 / 0.9604 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01352, allocations: 0 / 0.9604 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.01368, allocations: 237.7 kB / 0.9607 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.01371, allocations: 27.88 kB / 0.9607 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.01373, allocations: 7.938 kB / 0.9607 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.01379, allocations: 11.98 kB / 0.9607 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.01384, allocations: 11.98 kB / 0.9607 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.01386, allocations: 11.98 kB / 0.9607 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.218e-05/0.01394, allocations: 157.4 kB / 0.9609 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01394, allocations: 0 / 0.9609 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002175/0.01416, allocations: 47.89 kB / 0.9609 GB, free: 8.289 MB / 0.8698 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.000301/0.01446, allocations: 177.5 kB / 0.9611 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.01475, allocations: 306 kB / 0.9614 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01475, allocations: 0 / 0.9614 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.01481, allocations: 46.59 kB / 0.9614 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01508, allocations: 68.72 kB / 0.9615 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.0156, allocations: 356 kB / 0.9618 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.357e-05/0.01569, allocations: 112.5 kB / 0.9619 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.01573, allocations: 24.5 kB / 0.962 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of SimCode: time 8.02e-07/0.01573, allocations: 3.938 kB / 0.962 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of Templates: time 0.004524/0.02026, allocations: 3.344 MB / 0.9652 GB, free: 3.816 MB / 0.8698 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.384474357590079]