Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001324/0.001324, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.001557/0.001557, allocations: 214.8 kB / 22.25 MB, free: 4.867 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.816 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.362/3.362, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [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.002044/0.002044, allocations: 70.98 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003093/0.3728, allocations: 1.625 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.374, allocations: 0.5627 MB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.374, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.3742, allocations: 31.73 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.3746, allocations: 111.4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.3749, allocations: 154.5 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.3752, allocations: 211.5 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3753, allocations: 25.72 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3755, allocations: 99.69 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01241/0.3879, allocations: 1.575 MB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.3879, allocations: 16 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.388, allocations: 43.97 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.3881, allocations: 31.84 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.874e-05/0.3882, allocations: 67.69 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.3885, allocations: 195.2 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3885, allocations: 4 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3885, allocations: 3.938 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3885, allocations: 0 / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007896/0.3893, allocations: 464.8 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3894, allocations: 8.031 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.3894, allocations: 20.84 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.3897, allocations: 182.1 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3897, allocations: 11.94 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.3898, allocations: 16 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.39, allocations: 81.66 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.39, allocations: 3.938 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.39, allocations: 0 / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.39, allocations: 4 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.642e-05/0.3901, allocations: 43.97 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.3908, allocations: 348.2 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3909, allocations: 70.48 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.391, allocations: 24.86 kB / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.391, allocations: 0 / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.3912, allocations: 83.38 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.3912, allocations: 0 / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0003141/0.3915, allocations: 141.6 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.3915, allocations: 55.41 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3917, allocations: 187.3 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3918, allocations: 33.7 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.3919, allocations: 124 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.3919, allocations: 31.75 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.392, allocations: 57.66 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3921, allocations: 322.8 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.3922, allocations: 31.98 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.3925, allocations: 224.2 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3926, allocations: 96.16 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3926, allocations: 0 / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002154/0.3928, allocations: 135.8 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3928, allocations: 4 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3928, allocations: 4 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3929, allocations: 3.938 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.3929, allocations: 15.94 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.393, allocations: 0 / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3931, allocations: 19.94 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3931, allocations: 8 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001266/0.3933, allocations: 141.8 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3933, allocations: 15.84 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.3933, allocations: 17.41 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3933, allocations: 7.938 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3933, allocations: 0 / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3933, allocations: 3.984 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.3938, allocations: 357.9 kB / 1.372 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3938, allocations: 3.938 kB / 1.372 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.3939, allocations: 4 kB / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3939, allocations: 4 kB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3939, allocations: 7.984 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3939, allocations: 0 / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3939, allocations: 0 / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3941, allocations: 211.9 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.3941, allocations: 15.84 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3941, allocations: 4 kB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.3942, allocations: 11.98 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.3943, allocations: 11.98 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3943, allocations: 7.984 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001191/0.3944, allocations: 137.2 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3944, allocations: 0 / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002864/0.3947, allocations: 39.92 kB / 1.372 GB, free: 5.148 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003761/0.3951, allocations: 176.3 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3953, allocations: 82.72 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3953, allocations: 0 / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.3953, allocations: 27.94 kB / 1.372 GB, free: 4.883 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3957, allocations: 56.83 kB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.3963, allocations: 270.9 kB / 1.373 GB, free: 4.543 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3964, allocations: 106 kB / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.3964, allocations: 25.41 kB / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.3965, allocations: 15.44 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3965, allocations: 4 kB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of Templates: time 0.007539/0.404, allocations: 3.608 MB / 1.376 GB, free: 0.8242 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.052737487480044]