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.001462/0.001462, 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.001852/0.001852, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.797 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.315/3.315, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.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: 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.002051/0.002051, allocations: 67.25 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003084/0.3531, allocations: 1.626 MB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3542, allocations: 0.554 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.3543, allocations: 7.875 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.3545, allocations: 31.72 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.3548, allocations: 107.5 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.3552, allocations: 155.7 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.3555, allocations: 215.5 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3557, allocations: 17.73 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.3559, allocations: 95.73 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01274/0.3686, allocations: 1.59 MB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.3687, allocations: 16 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3688, allocations: 39.98 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.3689, allocations: 31.91 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.369, allocations: 71.62 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.3693, allocations: 203.2 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3693, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3693, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3693, allocations: 0 / 1.33 GB, free: 13.6 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007546/0.3701, allocations: 460.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3701, allocations: 8.031 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.3702, allocations: 20.84 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3705, allocations: 182.7 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3705, allocations: 15.94 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.3705, allocations: 12 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3707, allocations: 81.66 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3707, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3707, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3707, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3708, allocations: 43.97 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.3716, allocations: 352.2 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3717, allocations: 66.55 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.3718, allocations: 24.86 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3718, allocations: 4.125 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.372, allocations: 87.33 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.372, allocations: 3.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0002937/0.3723, allocations: 133.4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3724, allocations: 59.41 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.3725, allocations: 187.3 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.3726, allocations: 37.7 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.3727, allocations: 123.9 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3727, allocations: 27.78 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.3728, allocations: 53.67 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3729, allocations: 326.8 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.373, allocations: 31.98 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.3733, allocations: 229.3 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3734, allocations: 84.22 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3734, allocations: 7.938 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002778/0.3737, allocations: 133.5 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3737, allocations: 4 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3737, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3737, allocations: 3.938 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3738, allocations: 16 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3739, allocations: 3.938 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.374, allocations: 19.94 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.374, allocations: 12.12 kB / 1.333 GB, free: 10.54 MB / 1.029 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.0001289/0.3742, allocations: 136 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3742, allocations: 11.91 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.3742, allocations: 17.41 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3743, allocations: 11.97 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3743, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3743, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.3748, allocations: 365.9 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3748, allocations: 3.938 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.3748, allocations: 15.88 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3748, allocations: 0 / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3748, allocations: 4 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3748, allocations: 3.984 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3748, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.375, allocations: 200 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.3751, allocations: 15.84 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3751, allocations: 4 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3752, allocations: 11.98 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.3752, allocations: 11.98 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.3753, allocations: 11.98 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001418/0.3754, allocations: 132.1 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3754, allocations: 3.938 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003015/0.3757, allocations: 43.92 kB / 1.334 GB, free: 9.488 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: 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.0004137/0.3761, allocations: 179.2 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3763, allocations: 67.92 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3763, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.3764, allocations: 35.92 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3768, allocations: 59.75 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.3774, allocations: 262.8 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3776, allocations: 98.27 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.365e-05/0.3776, allocations: 25.41 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.3777, allocations: 27.44 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3777, allocations: 0 / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of Templates: time 0.008731/0.3864, allocations: 3.61 MB / 1.338 GB, free: 5.176 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.272642320021987]