Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008459/0.0008459, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.002005, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009385/0.0009385, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009463/0.001885, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9746/0.9746, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08158/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.808/1.808, allocations: 378.4 MB / 0.6079 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4843/2.292, allocations: 123.3 MB / 0.7283 GB, free: 5.703 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.684e-05, allocations: 2.938 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002123/0.00214, allocations: 1.725 MB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.002996, allocations: 0.5876 MB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.003061, allocations: 3.938 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.003178, allocations: 29.09 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.003412, allocations: 101.3 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.00371, allocations: 159.3 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.003936, allocations: 225.4 kB / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.00405, allocations: 22.44 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.0163, allocations: 4.979 MB / 0.7373 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.01646, allocations: 92.97 kB / 0.7373 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.01649, allocations: 12 kB / 0.7374 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.632e-05/0.01657, allocations: 35.92 kB / 0.7374 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.01661, allocations: 24.78 kB / 0.7374 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.01666, allocations: 31.94 kB / 0.7374 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.01687, allocations: 139.5 kB / 0.7376 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.01688, allocations: 0.75 kB / 0.7376 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01688, allocations: 0 / 0.7376 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.01689, allocations: 0.6562 kB / 0.7376 GB, free: 14.17 MB / 0.7136 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.0005031/0.0174, allocations: 472.8 kB / 0.738 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.01743, allocations: 8.031 kB / 0.738 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.01747, allocations: 20.91 kB / 0.7381 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.01764, allocations: 166.8 kB / 0.7382 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.01765, allocations: 12.36 kB / 0.7382 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.01767, allocations: 8.375 kB / 0.7382 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.28e-05/0.01775, allocations: 75.81 kB / 0.7383 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.01775, allocations: 0 / 0.7383 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.01776, allocations: 3.984 kB / 0.7383 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.01777, allocations: 4 kB / 0.7383 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.042e-05/0.0178, allocations: 18.94 kB / 0.7383 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.01814, allocations: 258.4 kB / 0.7386 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.01821, allocations: 50.5 kB / 0.7386 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.01824, allocations: 14.83 kB / 0.7386 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.01825, allocations: 0 / 0.7386 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.792e-05/0.01833, allocations: 71.36 kB / 0.7387 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 8.21e-07/0.01833, allocations: 4 kB / 0.7387 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001238/0.01845, allocations: 85.72 kB / 0.7388 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.01848, allocations: 56.42 kB / 0.7389 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.01858, allocations: 180.5 kB / 0.739 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.0186, allocations: 33.7 kB / 0.7391 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.01865, allocations: 109.1 kB / 0.7392 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.01867, allocations: 23.84 kB / 0.7392 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.01872, allocations: 54.7 kB / 0.7392 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.01881, allocations: 330.7 kB / 0.7396 GB, free: 12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.01882, allocations: 15.98 kB / 0.7396 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.01898, allocations: 218.7 kB / 0.7398 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.386e-05/0.01905, allocations: 71.03 kB / 0.7398 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01905, allocations: 0 / 0.7398 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001031/0.01915, allocations: 98.62 kB / 0.7399 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01917, allocations: 11.98 kB / 0.74 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01917, allocations: 0 / 0.74 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01919, allocations: 0 / 0.74 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.01925, allocations: 20 kB / 0.74 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01925, allocations: 0 / 0.74 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.01933, allocations: 26 kB / 0.74 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.01934, allocations: 7.984 kB / 0.74 GB, free: 11.47 MB / 0.7136 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 7.961e-05/0.01942, allocations: 140.5 kB / 0.7401 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.01944, allocations: 15.98 kB / 0.7402 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.01946, allocations: 22.02 kB / 0.7402 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01947, allocations: 4 kB / 0.7402 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01947, allocations: 0.875 kB / 0.7402 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01947, allocations: 0 / 0.7402 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.01971, allocations: 271.2 kB / 0.7404 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01971, allocations: 4.5 kB / 0.7404 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.01972, allocations: 8.578 kB / 0.7404 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.01973, allocations: 11.91 kB / 0.7405 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01974, allocations: 1.5 kB / 0.7405 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.01974, allocations: 4 kB / 0.7405 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01974, allocations: 3.938 kB / 0.7405 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01975, allocations: 0 / 0.7405 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.277e-05/0.01983, allocations: 176.5 kB / 0.7406 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.01984, allocations: 4 kB / 0.7406 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.01988, allocations: 8.859 kB / 0.7406 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.01992, allocations: 15.92 kB / 0.7407 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.01993, allocations: 7.984 kB / 0.7407 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.01997, allocations: 51.36 kB / 0.7407 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01997, allocations: 0.75 kB / 0.7407 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001749/0.02014, allocations: 43.89 kB / 0.7408 GB, free: 10.65 MB / 0.7136 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.0002942/0.02044, allocations: 171.3 kB / 0.7409 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.02055, allocations: 60.77 kB / 0.741 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.02055, allocations: 4 kB / 0.741 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.0206, allocations: 36.72 kB / 0.741 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.02087, allocations: 341.1 kB / 0.7413 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.02139, allocations: 274.9 kB / 0.7416 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.02143, allocations: 70.62 kB / 0.7417 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.02148, allocations: 17.47 kB / 0.7417 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.02164, allocations: 105.3 kB / 0.7418 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.02164, allocations: 0 / 0.7418 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.005442/0.02708, allocations: 3.673 MB / 0.7454 GB, free: 6.023 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.773991383612156]