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.001585/0.001585, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002247/0.002247, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.504/1.504, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001983/0.001983, allocations: 67.88 kB / 1.061 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7917, allocations: 160.8 MB / 1.218 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003392/0.7951, allocations: 1.8 MB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.7964, allocations: 0.6451 MB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.7965, allocations: 9.219 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.7967, allocations: 26.3 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.7971, allocations: 131.8 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.7976, allocations: 161.1 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.798, allocations: 237 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.7982, allocations: 28.28 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.7983, allocations: 115.3 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008444/0.8068, allocations: 1.056 MB / 1.223 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.8069, allocations: 17.25 kB / 1.223 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.807, allocations: 43.75 kB / 1.223 GB, free: 1.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.8071, allocations: 42.22 kB / 1.223 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.8072, allocations: 96.91 kB / 1.223 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.8077, allocations: 223.7 kB / 1.223 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8077, allocations: 3.938 kB / 1.223 GB, free: 0.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8077, allocations: 0 / 1.223 GB, free: 0.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.8077, allocations: 1.156 kB / 1.223 GB, free: 0.75 MB / 0.92 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.001034/0.8088, allocations: 0.5631 MB / 1.223 GB, free: 204 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.8088, allocations: 8.719 kB / 1.223 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.8089, allocations: 25.39 kB / 1.224 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.8094, allocations: 245.7 kB / 1.224 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.8094, allocations: 15.5 kB / 1.224 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.8095, allocations: 20 kB / 1.224 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.8097, allocations: 102.5 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.8097, allocations: 1.062 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.8098, allocations: 13.09 kB / 1.224 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.8098, allocations: 2.156 kB / 1.224 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.8099, allocations: 55.88 kB / 1.224 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.811, allocations: 489.2 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.8113, allocations: 102.9 kB / 1.225 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.8114, allocations: 37 kB / 1.225 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.8114, allocations: 1.156 kB / 1.225 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.8116, allocations: 102.8 kB / 1.225 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.734e-06/0.8116, allocations: 3.938 kB / 1.225 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004253/0.812, allocations: 181.8 kB / 1.225 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.8121, allocations: 59.03 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.8124, allocations: 207 kB / 1.225 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.8124, allocations: 33.92 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.8125, allocations: 123 kB / 1.225 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.8126, allocations: 45.64 kB / 1.225 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.8127, allocations: 63.09 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.8129, allocations: 328.3 kB / 1.226 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.8131, allocations: 70.05 kB / 1.226 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.8133, allocations: 129.1 kB / 1.226 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.8137, allocations: 211.8 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8137, allocations: 0 / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006902/0.8143, allocations: 333 kB / 1.226 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.8144, allocations: 69.73 kB / 1.226 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8144, allocations: 5.219 kB / 1.226 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.8144, allocations: 3.031 kB / 1.226 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8145, allocations: 25.3 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.8146, allocations: 2.812 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.8148, allocations: 17.8 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.8148, allocations: 21.98 kB / 1.226 GB, free: 13.69 MB / 0.9356 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.0001597/0.8149, allocations: 142.4 kB / 1.227 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.815, allocations: 21.72 kB / 1.227 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.8152, allocations: 147.6 kB / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8153, allocations: 1.125 kB / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8153, allocations: 1.094 kB / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.8153, allocations: 3.984 kB / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.8159, allocations: 495.4 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8159, allocations: 0 / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.816, allocations: 10.81 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.816, allocations: 4 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.816, allocations: 5.297 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.816, allocations: 9.25 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.816, allocations: 0 / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.8163, allocations: 241.9 kB / 1.228 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.8164, allocations: 101 kB / 1.228 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.8164, allocations: 1.438 kB / 1.228 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.8165, allocations: 13.02 kB / 1.228 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.8166, allocations: 17.06 kB / 1.228 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.8166, allocations: 6.531 kB / 1.228 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001713/0.8168, allocations: 154 kB / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8168, allocations: 0 / 1.228 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003586/0.8172, allocations: 52.11 kB / 1.228 GB, free: 12.55 MB / 0.9356 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.0004685/0.8176, allocations: 173.7 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.8181, allocations: 241.2 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8181, allocations: 9.406 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.8182, allocations: 44.39 kB / 1.228 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.8187, allocations: 54.72 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.8195, allocations: 328.1 kB / 1.229 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.8199, allocations: 0.7276 MB / 1.229 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.82, allocations: 26.25 kB / 1.229 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.8201, allocations: 24.36 kB / 1.229 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.8201, allocations: 0 / 1.229 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of Templates: time 0.009178/0.8292, allocations: 3.654 MB / 1.233 GB, free: 8.25 MB / 0.9356 GB " [Timeout remaining time 299] 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.797929177060723]