Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001669/0.001669, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001978/0.001978, allocations: 216.4 kB / 22.25 MB, free: 4.852 MB / 14.72 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 1.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.262/3.262, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.3 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3667, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003688/0.3703, allocations: 1.765 MB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3718, allocations: 0.6082 MB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3719, allocations: 3.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.3721, allocations: 35.72 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.3726, allocations: 127.4 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.373, allocations: 159 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.3734, allocations: 247.3 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3735, allocations: 29.73 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.3737, allocations: 111.6 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008457/0.3822, allocations: 1.051 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.3823, allocations: 16 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3824, allocations: 36 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.3825, allocations: 47.81 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3826, allocations: 79.58 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.383, allocations: 227.1 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.383, allocations: 3.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.383, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.383, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 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.0008726/0.3839, allocations: 0.4888 MB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3839, allocations: 8.031 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/0.384, allocations: 24.8 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3844, allocations: 194.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3844, allocations: 12.38 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.3844, allocations: 20.12 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.3847, allocations: 112.1 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3847, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3847, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3847, allocations: 7.938 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3848, allocations: 71.77 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.3857, allocations: 384.2 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.386, allocations: 98.64 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.386, allocations: 32.89 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.3861, allocations: 8 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.3862, allocations: 111.3 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3862, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003733/0.3866, allocations: 180.6 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3866, allocations: 55.41 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.3869, allocations: 211.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.3869, allocations: 33.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.387, allocations: 128.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.3871, allocations: 39.69 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3872, allocations: 61.67 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3873, allocations: 326.8 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.3875, allocations: 131.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.3878, allocations: 238.4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.3882, allocations: 216.9 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3882, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006597/0.3888, allocations: 388.3 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.3889, allocations: 67.42 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3889, allocations: 4 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3889, allocations: 7.875 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.389, allocations: 23.98 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.389, allocations: 4 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.3892, allocations: 23.88 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3892, allocations: 15.98 kB / 1.333 GB, free: 9.637 MB / 1.029 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.0001503/0.3894, allocations: 140.3 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.3894, allocations: 23.86 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.3897, allocations: 155.3 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3897, allocations: 3.938 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3897, allocations: 4 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3897, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.3903, allocations: 410 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3903, allocations: 3.938 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.3904, allocations: 8 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3904, allocations: 4 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3904, allocations: 3.938 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3904, allocations: 7.938 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3904, allocations: 0 / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3906, allocations: 247.3 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.3907, allocations: 27.77 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3907, allocations: 4 kB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3908, allocations: 7.984 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.3909, allocations: 19.97 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.391, allocations: 8 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001481/0.3911, allocations: 145.5 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3911, allocations: 0 / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003273/0.3914, allocations: 59.88 kB / 1.335 GB, free: 8.309 MB / 1.029 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.0004277/0.3919, allocations: 160.6 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.3923, allocations: 308.3 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3923, allocations: 0 / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.3924, allocations: 51.91 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3929, allocations: 64.77 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.3936, allocations: 315.5 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3937, allocations: 120 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.3938, allocations: 29.94 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.3938, allocations: 23.42 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3938, allocations: 0 / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of Templates: time 0.008727/0.4026, allocations: 3.938 MB / 1.34 GB, free: 3.332 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.174461904913187]