Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001283/0.001283, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001452/0.001452, allocations: 220.8 kB / 23.01 MB, free: 4.609 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.273/3.273, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002048/0.002048, allocations: 69.8 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3482, allocations: 180.2 MB / 1.354 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003245/0.3514, allocations: 1.815 MB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3527, allocations: 0.6359 MB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.3528, allocations: 0 / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.353, allocations: 39.66 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.3533, allocations: 119.5 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.3537, allocations: 165.6 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.3541, allocations: 243.4 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3542, allocations: 33.69 kB / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3543, allocations: 111.7 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008208/0.3626, allocations: 1.051 MB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.3626, allocations: 20 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3628, allocations: 40 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.3628, allocations: 39.78 kB / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.363, allocations: 95.5 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.3634, allocations: 227.1 kB / 1.359 GB, free: 3.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3634, allocations: 0 / 1.359 GB, free: 3.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3634, allocations: 0 / 1.359 GB, free: 3.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3634, allocations: 4 kB / 1.359 GB, free: 3.656 MB / 1.045 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.0009089/0.3643, allocations: 490.2 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3644, allocations: 8.031 kB / 1.359 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.572e-05/0.3645, allocations: 24.8 kB / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3648, allocations: 206 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3648, allocations: 12.38 kB / 1.359 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.3649, allocations: 20.12 kB / 1.359 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3651, allocations: 110.7 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3651, allocations: 0 / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3652, allocations: 7.984 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3652, allocations: 4 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3653, allocations: 59.91 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.3663, allocations: 451.5 kB / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.3666, allocations: 106.7 kB / 1.36 GB, free: 2.066 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.3666, allocations: 32.84 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3667, allocations: 0 / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.3669, allocations: 107.4 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3669, allocations: 0 / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003907/0.3672, allocations: 188.3 kB / 1.36 GB, free: 1.727 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.3673, allocations: 59.39 kB / 1.36 GB, free: 1.656 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3676, allocations: 199.8 kB / 1.361 GB, free: 1.449 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3676, allocations: 33.7 kB / 1.361 GB, free: 1.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3677, allocations: 136.4 kB / 1.361 GB, free: 1.273 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3678, allocations: 31.7 kB / 1.361 GB, free: 1.242 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3679, allocations: 69.67 kB / 1.361 GB, free: 1.168 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.3681, allocations: 330.8 kB / 1.361 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3683, allocations: 63.95 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.3685, allocations: 129.2 kB / 1.361 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.3689, allocations: 213.3 kB / 1.362 GB, free: 388 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3689, allocations: 0 / 1.362 GB, free: 388 kB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006544/0.3695, allocations: 340.8 kB / 1.362 GB, free: 28 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/0.3696, allocations: 71.33 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3696, allocations: 3.938 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3697, allocations: 4 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.3697, allocations: 15.98 kB / 1.362 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3698, allocations: 4 kB / 1.362 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.37, allocations: 27.81 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.37, allocations: 15.94 kB / 1.362 GB, free: 15.88 MB / 1.061 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.0001638/0.3701, allocations: 143.9 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3702, allocations: 15.91 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.3705, allocations: 155.2 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3705, allocations: 0 / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3705, allocations: 4 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3705, allocations: 0 / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.3711, allocations: 457.3 kB / 1.363 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3711, allocations: 0 / 1.363 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.3712, allocations: 7.984 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3712, allocations: 8 kB / 1.363 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3712, allocations: 4 kB / 1.363 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3712, allocations: 0 / 1.363 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3712, allocations: 4 kB / 1.363 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.3715, allocations: 243.2 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.3715, allocations: 23.89 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.3716, allocations: 11.98 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3717, allocations: 8 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.3717, allocations: 15.97 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.3718, allocations: 11.98 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001483/0.3719, allocations: 149.5 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3719, allocations: 0 / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003181/0.3722, allocations: 51.83 kB / 1.363 GB, free: 14.5 MB / 1.061 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.0004156/0.3726, allocations: 159.2 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004659/0.3731, allocations: 248.8 kB / 1.364 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3731, allocations: 4.062 kB / 1.364 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.3732, allocations: 45.75 kB / 1.364 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.3737, allocations: 67.45 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.3744, allocations: 348.8 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.3748, allocations: 0.7358 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.3749, allocations: 23.42 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3749, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of Templates: time 0.006381/0.3812, allocations: 3.279 MB / 1.368 GB, free: 9.555 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.288120235985843]