Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001746/0.001746, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001849/0.001849, allocations: 186 kB / 20.78 MB, free: 1.547 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.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.89 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3209, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003305/0.3242, allocations: 1.807 MB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3255, allocations: 0.6468 MB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.3255, allocations: 4 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.3257, allocations: 23.67 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.3261, allocations: 123.4 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3264, allocations: 159.6 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.3268, allocations: 239.5 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3269, allocations: 29.66 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.327, allocations: 99.69 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008028/0.3351, allocations: 1.058 MB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.3351, allocations: 20 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.3353, allocations: 36 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.796e-05/0.3354, allocations: 47.81 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.3355, allocations: 87.58 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.336, allocations: 227 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.336, allocations: 0 / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.336, allocations: 4 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.336, allocations: 0 / 1.221 GB, free: 11 MB / 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.0009718/0.3369, allocations: 0.5641 MB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.337, allocations: 8.031 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.3371, allocations: 24.8 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.3374, allocations: 248.2 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.3375, allocations: 16.38 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.3375, allocations: 16.12 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.3378, allocations: 105.6 kB / 1.222 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3378, allocations: 0 / 1.222 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.3378, allocations: 7.984 kB / 1.222 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3378, allocations: 7.938 kB / 1.222 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3379, allocations: 55.97 kB / 1.222 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.3389, allocations: 484.3 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.3392, allocations: 98.73 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.3393, allocations: 36.84 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3393, allocations: 3.984 kB / 1.222 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3395, allocations: 110.2 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 3.997e-06/0.3395, allocations: 3.984 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003984/0.3399, allocations: 181.4 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.34, allocations: 51.41 kB / 1.223 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.3402, allocations: 207.8 kB / 1.223 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.3403, allocations: 33.7 kB / 1.223 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3404, allocations: 120.5 kB / 1.223 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.3404, allocations: 47.69 kB / 1.223 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3406, allocations: 69.73 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3407, allocations: 330.8 kB / 1.223 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3409, allocations: 71.8 kB / 1.223 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.3411, allocations: 129.1 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.3415, allocations: 217.2 kB / 1.224 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3415, allocations: 0 / 1.224 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006577/0.3421, allocations: 332.7 kB / 1.224 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.3422, allocations: 69.42 kB / 1.224 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3422, allocations: 3.938 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3422, allocations: 4 kB / 1.224 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.3423, allocations: 15.94 kB / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3423, allocations: 7.984 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.3425, allocations: 23.89 kB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.3426, allocations: 15.98 kB / 1.224 GB, free: 7.023 MB / 0.9669 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.0001624/0.3427, allocations: 152.1 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.3428, allocations: 19.91 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.3431, allocations: 143.5 kB / 1.224 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3431, allocations: 4 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3431, allocations: 0 / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3431, allocations: 3.984 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.3438, allocations: 497 kB / 1.225 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3438, allocations: 4 kB / 1.225 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.3438, allocations: 8 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3438, allocations: 0 / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3439, allocations: 7.922 kB / 1.225 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3439, allocations: 7.938 kB / 1.225 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3439, allocations: 0 / 1.225 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3441, allocations: 231.4 kB / 1.225 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.3442, allocations: 100.9 kB / 1.225 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3442, allocations: 12 kB / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3444, allocations: 7.984 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.3444, allocations: 19.97 kB / 1.225 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3444, allocations: 7.938 kB / 1.225 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001359/0.3446, allocations: 144.2 kB / 1.225 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3446, allocations: 0 / 1.225 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003203/0.3449, allocations: 47.94 kB / 1.225 GB, free: 5.531 MB / 0.9669 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.0004002/0.3453, allocations: 166.5 kB / 1.226 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.3457, allocations: 252.7 kB / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3457, allocations: 0 / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.308e-05/0.3458, allocations: 43.92 kB / 1.226 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.3463, allocations: 74.64 kB / 1.226 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/0.347, allocations: 323 kB / 1.226 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3474, allocations: 0.7323 MB / 1.227 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.602e-05/0.3475, allocations: 30.02 kB / 1.227 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.3475, allocations: 19.44 kB / 1.227 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3475, allocations: 0 / 1.227 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of Templates: time 0.008623/0.3562, allocations: 3.619 MB / 1.231 GB, free: 264 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.331982712261379]