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.001844/0.001844, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002328/0.002328, allocations: 209.6 kB / 23.03 MB, free: 4.863 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.184/3.184, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002018/0.002018, allocations: 69.38 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3694, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003205/0.3726, allocations: 1.629 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3738, allocations: 0.5617 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.3738, allocations: 3.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.374, allocations: 27.73 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.3744, allocations: 115.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.3747, allocations: 143.7 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.375, allocations: 219.4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3751, allocations: 21.73 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.3753, allocations: 103.7 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01241/0.3877, allocations: 1.571 MB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.3878, allocations: 16 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3879, allocations: 39.98 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.388, allocations: 39.83 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3881, allocations: 71.64 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.3885, allocations: 195.2 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3885, allocations: 0 / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3885, allocations: 8 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.3885, allocations: 0 / 1.332 GB, free: 12.64 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.0007854/0.3893, allocations: 460.9 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3893, allocations: 12.03 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.3894, allocations: 16.84 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.3897, allocations: 178.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3897, allocations: 19.88 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3897, allocations: 12 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3899, allocations: 85.66 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3899, allocations: 3.938 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3899, allocations: 0 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3899, allocations: 0 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.39, allocations: 43.97 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.3907, allocations: 352.2 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3909, allocations: 58.55 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.3909, allocations: 28.86 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.391, allocations: 4 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.3912, allocations: 99.38 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.3912, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0002941/0.3915, allocations: 137.4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3915, allocations: 51.41 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.3917, allocations: 187.3 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3918, allocations: 33.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3919, allocations: 128 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.3919, allocations: 27.8 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.392, allocations: 53.67 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3921, allocations: 322.8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.3922, allocations: 23.98 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.3925, allocations: 234.3 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3926, allocations: 84.22 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3926, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002342/0.3929, allocations: 141.5 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3929, allocations: 10.34 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3929, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.3929, allocations: 11.97 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.393, allocations: 11.94 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.393, allocations: 4 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3932, allocations: 19.94 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3932, allocations: 4 kB / 1.334 GB, free: 9.586 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.0001487/0.3933, allocations: 141.7 kB / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3934, allocations: 19.91 kB / 1.335 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.3934, allocations: 17.41 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3934, allocations: 3.938 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3934, allocations: 0 / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3934, allocations: 3.984 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.3939, allocations: 365.9 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3939, allocations: 3.938 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.3939, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3939, allocations: 4 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3939, allocations: 11.98 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.394, allocations: 0 / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.394, allocations: 3.938 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3942, allocations: 199.4 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.3942, allocations: 19.84 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3942, allocations: 4 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.3943, allocations: 7.984 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3944, allocations: 11.98 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3944, allocations: 11.98 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001296/0.3945, allocations: 128.1 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3945, allocations: 4 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003067/0.3948, allocations: 47.92 kB / 1.335 GB, free: 8.527 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.00041/0.3952, allocations: 174.4 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3954, allocations: 83.78 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3954, allocations: 0 / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.3955, allocations: 28 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.3959, allocations: 54.67 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.3965, allocations: 304.7 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3966, allocations: 98.27 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.3967, allocations: 23.42 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3967, allocations: 0 / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of Templates: time 0.005415/0.4021, allocations: 2.952 MB / 1.339 GB, free: 4.801 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/jenkins1/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: 11.964049108792096]